]> gcc.gnu.org Git - gcc.git/blame - libstdc++-v3/ChangeLog
re PR rtl-optimization/8750 (Cygwin prolog generation erroneously emitting __alloca...
[gcc.git] / libstdc++-v3 / ChangeLog
CommitLineData
f5677b15
PC
12003-10-12 Paolo Carlini <pcarlini@unitus.it>
2
3 * config/locale/ieee_1003.1-2001/codecvt_specializations.h:
4 Change #ifdef _GLIBCXX_RESOLVE_LIB_DEFECTS to a comment.
5 * include/bits/basic_string.tcc: Likewise.
6 * include/bits/ios_base.h: Likewise.
7 * include/bits/istream.tcc: Likewise.
8 * include/bits/locale_facets.tcc: Likewise.
9 * include/bits/ostream.tcc: Likewise.
10 * include/bits/stl_function.h: Likewise.
11 * include/bits/stl_multiset.h: Likewise.
12 * include/bits/stl_pair.h: Likewise.
13 * include/bits/stl_set.h: Likewise.
14 * include/bits/streambuf_iterator.h
15 * include/std/std_iosfwd.h: Likewise.
16 * include/std/std_istream.h: Likewise.
17 * include/std/std_sstream.h: Likewise.
18 * include/std/std_streambuf.h: Likewise.
19 * src/ios.cc: Likewise.
20 * include/bits/c++config:
21 Comment out #define _GLIBCXX_RESOLVE_LIB_DEFECTS 1.
22 * testsuite/27_io/ios_base/cons/assign_neg.cc: Tweak a
23 dg-error directive due to removal of a blank line.
24 * testsuite/27_io/ios_base/cons/copy_neg.cc: Likewise.
25
c411fdae
AT
262003-10-12 Andreas Tobler <a.tobler@schweiz.ch>
27 Paolo Carlini <pcarlini@unitus.it>
28
29 PR libstdc++/11844/11740 (cont)
30 * config/os/generic/ctype_inline.h (ctype<char>::is):
31 Generically, use a bitmasksize of 15 (instead of 10);
32 Fix the logic to actually return (M & m) != 0 as per
33 22.2.1.1.2.
34
796d7a86
BI
352003-10-11 Bernardo Innocenti <bernie@develer.com>
36
37 * crossconfig.m4 (*-uclinux*): New target.
38 * configure: Regenerate.
39
6b61bca4
PC
402003-10-10 Paolo Carlini <pcarlini@unitus.it>
41
42 * include/bits/ostream.tcc (operator<<(basic_ostream&, _CharT))
43 Avoid unnecessarily calling __builtin_alloca and dealing
44 explicitly with width() smaller than zero.
45 (operator<<(basic_ostream&, char), operator<<(basic_ostream&,
46 const _CharT*), operator<<(basic_ostream<_CharT, _Traits>&,
47 const char*), operator<<(basic_ostream<char, _Traits>&,
48 const char*), operator<<(basic_ostream, const basic_string&)):
49 Likewise.
50
5aaa2108
BK
512003-10-09 Benjamin Kosnik <bkoz@redhat.com>
52
53 * config/linker-map.gnu: Make more *_type_info bits visible.
54 Move new/delete bits back into GLIBCXX space.
55
56 * include/bits/locale_classes.h: Move _M_id out of line, so that
57 locale::id::_S_highwater can be removed from the export list.
58 * src/locale.cc (locale::id::_M_id): Define.
59
64833be0
AT
602003-10-09 Andreas Tobler <a.tobler@schweiz.ch>
61
62 * testsuite/lib/libstdc++.exp: Set LD_LIBRARY_PATH_64 for
63 SPARC64.
64
2f800bcc
PC
652003-10-09 Paolo Carlini <pcarlini@unitus.it>
66
67 PR libstdc++/11844
68 * config/os/aix/ctype_base.h: Fix 'alnum' and 'graph'
69 to conform to the requirements of 22.2.1.
70 * config/os/bsd/freebsd/ctype_base.h: Likewise.
71 * config/os/djgpp/ctype_base.h: Likewise.
72 * config/os/generic/ctype_base.h: Likewise.
73 * config/os/gnu-linux/ctype_base.h: Likewise.
74 * config/os/hpux/ctype_base.h: Likewise.
75 * config/os/irix/irix6.5/ctype_base.h: Likewise.
76 * config/os/solaris/solaris2.6/ctype_base.h: Likewise.
77 * config/os/solaris/solaris2.7/ctype_base.h: Likewise.
78 * testsuite/22_locale/ctype/11844.cc: New.
79
80 * config/locale/generic/ctype_members.cc (do_is):
81 Generically, use a bitmasksize of 15 (instead of 10), since
82 we don't know the numerical encoding of the various categories
83 in the underlying /usr/include/ctype.h.
84
93d04686
BK
852003-10-09 Benjamin Kosnik <bkoz@redhat.com>
86
87 * src/string-inst.cc: Prune.
88 * testsuite/27_io/ios_base/cons/assign_neg.cc: Adjust line numbers.
89 * testsuite/27_io/ios_base/cons/copy_neg.cc: Same.
90
912003-10-09 Petur Runolfsson <peturr02@ru.is>
92
93 * src/io-inst.cc: Don't include iostream.
94 * include/bits/ios_base.h (ios_base::failure): Use string.
95 * src/Makefile.am: Add ios_failure.cc.
96 * src/Makefile.in: Regenerate.
97 * src/ios.cc: Move ios_base::failure definitions to...
98 * src/ios_failure.cc: ...here. New.
99
1a139c59
PR
1002003-10-09 Petur Runolfsson <peturr02@ru.is>
101
102 PR libstdc++/9874
103 * include/bits/fstream.tcc (basic_filebuf::seekoff):
104 Move code needed for both seekoff and seekpos...
105 (basic_filebuf::_M_seek): ...here. New function.
106 (basic_filebuf::seekpos): Don't call seekoff, call _M_seek.
107 * include/std/std_fstream.h (basic_filebuf::_M_seek): Declare it.
108 * testsuite/27_io/basic_filebuf/seekpos/wchar_t/9874.cc: New test.
109
110 * testsuite/22_locale/locale/cons/12438.cc: Increase memory limit.
111
a761195b
PC
1122003-10-08 Paolo Carlini <pcarlini@unitus.it>
113
114 * include/bits/locale_facets.tcc: More minor cosmetic
115 changes and const-ifications of some variables.
116
905df1fb
PC
1172003-10-07 Paolo Carlini <pcarlini@unitus.it>
118
119 * include/bits/locale_facets.tcc: Minor cosmetic changes
120 and const-ifications of some variables.
121
122 * include/bits/locale_facets.tcc
123 (money_get::do_get(..., string_type&)): Simplify an if-else.
124
ba9b12d1
PC
1252003-10-06 Paolo Carlini <pcarlini@unitus.it>
126
127 PR libstdc++/11740
128 * config/locale/gnu/ctype_members.cc (ctype<wchar_t>::do_is):
129 Fix to actually return (M & m) != 0 as per 22.2.1.1.2.
130 * config/locale/generic/ctype_members.cc: Same.
131 * testsuite/22_locale/ctype/is/wchar_t/11740.cc: New.
132
e4f7d0a1
PC
1332003-10-06 Paolo Carlini <pcarlini@unitus.it>
134
135 * include/bits/locale_facets.tcc (__pad<>::_S_pad):
136 Improve performance-wise: avoid one traits::copy, avoid
137 the __builtin_alloca, streamline.
138
5b577977
PC
1392003-10-05 Paolo Carlini <pcarlini@unitus.it>
140
141 * include/bits/locale_facets.tcc
142 (num_put::do_put(..., bool)): Prefer ?: to if-else.
143 (time_get::_M_extract_name): Qualify min with std::.
144 (__pad<>::_S_pad): Constify two variables; simplify an
145 if-else statement factoring out some code.
146
147 * include/bits/locale_facets.tcc: Minor cosmetic changes.
148
dff186db
PC
1492003-10-04 Paolo Carlini <pcarlini@unitus.it>
150
151 * include/bits/locale_facets.tcc (num_get::_M_extract_float):
152 Constify a couple of variables.
153 (num_get::do_get(..., bool&)): Constify __c; prefer *__beg,
154 ++__beg to *__beg++.
155
2811b823
PC
1562003-10-04 Paolo Carlini <pcarlini@unitus.it>
157 Petur Runolfsson <peturr02@ru.is>
158
159 * include/ext/stdio_sync_filebuf.h: Don't include the whole
160 <fstream>, only <streambuf> and <cstdio>.
161
184b434c
PC
1622003-10-04 Paolo Carlini <pcarlini@unitus.it>
163
164 PR libstdc++/12206
165 * include/bits/fstream.tcc (imbue): In case a codecvt facet
166 is not available, set _M_codecvt = 0.
167 * testsuite/27_io/basic_filebuf/imbue/12206.cc: New.
168
cafc7337
HB
1692003-10-02 Harald Boehme <boehme@informatik.hu-berlin.de>
170
171 PR libstdc++/12451
172 * libsupc++/cxxabi.h: Move forward declaration of __class_type_info.
173
bb1b12ec
BK
1742003-10-02 Benjamin Kosnik <bkoz@redhat.com>
175
176 * include/bits/locale_classes.h (locale::facet::_S_get_c_name): Add.
177 * src/locale.cc: Define.
178 * src/localename.cc: Use it.
179 * config/locale/generic/time_members.h: Same.
180 * config/locale/gnu/messages_members.h: Same.
181 * config/locale/gnu/time_members.h: Same.
182
8dcaff28
PC
1832003-10-02 Paolo Carlini <pcarlini@unitus.it>
184
185 PR libstdc++/12232
186 * include/bits/fstream.tcc (seekoff): Ignore the openmode
187 argument; simplify.
188 * config/io/basic_file_stdio.h (__basic_file<char>::seekoff,
189 seekpos): Remove the openmode argument.
190 * config/io/basic_file_stdio.cc (__basic_file<char>::seekoff,
191 seekpos): Remove redundant placeholder for the openmode argument.
192 * testsuite/27_io/basic_filebuf/seekoff/char/12232.cc: New.
193 * testsuite/27_io/basic_filebuf/seekoff/char/3-in.cc: Tweak.
194 * testsuite/27_io/basic_filebuf/seekoff/char/3-out.cc: Likewise.
195 * testsuite/27_io/basic_filebuf/seekpos/char/3-in.cc: Likewise.
196 * testsuite/27_io/basic_filebuf/seekpos/char/3-out.cc: Likewise.
197
5c109a17
BK
1982003-10-02 Benjamin Kosnik <bkoz@redhat.com>
199
200 * src/locale.cc (locale::_S_initialize): Use __gthread_active_p.
201 (locale::facet::_S_get_c_locale): Same.
202
8ae81136
BK
2032003-10-02 Benjamin Kosnik <bkoz@redhat.com>
204
205 * config/linker-map.gnu: Export _S_get_c_locale instead of
206 _S_c_locale object.
207
2082003-10-02 Petur Runolfsson <peturr02@ru.is>
209
210 * config/locale/generic/c_locale.cc
211 (category_names, locale::_S_categories): Const qualify.
212 * config/locale/gnu/c_locale.cc: Same.
213 * config/locale/generic/time_members.h (__timepunct::__timepunct):
214 Copy string contents before assigning to _M_name_timepunct,
215 qualify strcpy and strlen with std::.
216 * config/locale/gnu/time_members.h: Same.
217 * config/locale/gnu/messages_members.h (messages::messages):
218 Copy string contents before assigning to _M_name_messages,
219 qualify strcpy and strlen with std::.
220 * config/os/gnu-linux/ctype_noninline.h
221 (ctype<char>::classic_table()): Don't call locale::classic().
222 * include/bits/locale_classes.h
223 (locale::_S_categories): Const qualify.
224 (locale::_S_once, locale::_S_initialize_once,
225 locale::facet::_S_once, locale::facet::_S_initialize_once,
226 locale::facet::_S_get_c_locale): Declare.
227 (locale::_S_initialize): Don't define.
228 (locale::facet::_S_c_locale): Make private.
229 (locale::facet::_S_c_name): Same, const qualify.
230 (locale::_Impl::_Impl(facet**, size_t, bool)): Drop unused
231 parameters, add throw() specifier.
232 * include/bits/locale_facets.h (__timepunct::_M_name_timepunct,
233 messages::_M_name_messages): Const qualify.
234 * src/locale.cc
235 (locale::_S_once, locale::facet::_S_once): Define.
236 (locale::classic): Move initialization code...
237 (locale::_S_initialize_once): ...here.
238 (locale::_S_initialize): Call _S_initialize_once through
239 __gthread_once.
240 (locale::facet::_S_initialize_once): Initialize _S_c_locale.
241 (locale::facet::_S_get_c_locale): Call _S_initialize_once through
242 __gthread_once before returning _S_c_locale.
243 * src/localename.cc (locale::_Impl::_Impl(facet**, size_t, bool)):
244 Drop unused parameters, add throw() specifier, don't initialize
245 locale::facet::_S_c_locale and _S_c_name.
246
247 * config/locale/generic/messages_members.h:
248 Replace _S_c_locale with _S_get_c_locale().
249 * config/locale/gnu/c_locale.cc: Same.
250 * config/locale/gnu/messages_members.h: Same.
251 * config/locale/gnu/numeric_members.cc: Same.
252 * config/locale/gnu/time_members.cc: Same.
253 * config/os/gnu-linux/ctype_noninline.h: Same.
254 * include/bits/locale_facets.h: Same.
255 * include/bits/locale_facets.tcc: Same.
256 * src/codecvt.cc: Same.
257 * src/ctype.cc: Same.
258
4a035cf7
CW
2592003-10-02 Carlo Wood <carlo@alinoe.com>
260
261 * include/bits/demangle.h (demangle<Allocator>::symbol(char const*)):
262 Decode symbols that start with _GLOBAL_[ID]_ differently: the
263 trailing part ends with a terminating zero and is not necessarily an
264 encoding.
265 * src/demangle.cc (): Same.
266 * testsuite/demangle/regression/cw-13.cc: Adjust for new output.
267
86b4ab73
PC
2682003-10-02 Paolo Carlini <pcarlini@unitus.it>
269
270 * testsuite/22_locale/locale/cons/12438.cc: Use
271 __gnu_test::try_named_locale("").
272
222a5b1d
RO
2732003-10-01 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
274
275 * linkage.m4 (GLIBCXX_CHECK_STDLIB_DECL_AND_LINKAGE_0): Define.
276 (GLIBCXX_CHECK_STDLIB_SUPPORT): Use it to test for lrand48
277 instead of drand48.
278 * acconfig.h (HAVE_DRAND48): Renamed to HAVE_LRAND48.
279 * crossconfig.m4 (*-freebsd*): Define HAVE_LRAND48 instead of
280 HAVE_DRAND48.
281 * config.h.in, configure: Regenerate.
282 * include/bits/stl_algo.h: Use _GLIBCXX_HAVE_LRAND48 to guard
283 lrand48 use.
284
e39dd1ce
NM
2852003-10-01 Nathan Myers <ncm@cantrip.org>
286
287 * include/bits/locale_facets.tcc (time_put::put): Avoid
288 expensive *__s++, in favor of *__s, ++__s.
289
530ce551
PC
2902003-10-01 Paolo Carlini <pcarlini@unitus.it>
291
292 * include/bits/locale_facets.tcc (time_put::put): Minor
293 tweak to the previous commit.
294
52a16d08
PC
2952003-10-01 Paolo Carlini <pcarlini@unitus.it>
296
297 PR libstdc++/12439
298 * include/bits/locale_facets.tcc (time_put::put): Deal
299 with the three issues pointed out by the PR.
300 * testsuite/22_locale/time_put/put/char/12439_1.cc: New.
301 * testsuite/22_locale/time_put/put/char/12439_3.cc: New.
302 * testsuite/22_locale/time_put/put/wchar_t/12439_1.cc: New.
303 * testsuite/22_locale/time_put/put/wchar_t/12439_2.cc: New.
304 * testsuite/22_locale/time_put/put/wchar_t/12439_3.cc: New.
305
ae7c3ba5
PC
3062003-09-30 Paolo Carlini <pcarlini@unitus.it>
307
308 * include/bits/stl_algo.h: Minor cosmetic reformattings.
309
cbc6c296
PC
3102003-09-30 Paolo Carlini <pcarlini@unitus.it>
311
312 * include/bits/stl_algo.h (search_n): Tweak, to spare the
313 first --__n.
314
2ea247d3
PC
3152003-09-30 Paolo Carlini <pcarlini@unitus.it>
316
317 * testsuite/22_locale/locale/cons/12352.cc: Explicitly
318 qualify exception name.
319
155f6fbb
PC
3202003-09-30 Paolo Carlini <pcarlini@unitus.it>
321
322 PR libstdc++/12438
323 * include/bits/locale_facets.tcc (locale::combine): Don't
324 leak memory if _M_replace_facet throws.
325 * testsuite/22_locale/locale/cons/12438.cc: New, from the PR.
326
327 * include/bits/locale_classes.h (locale::locale(const locale&,
328 _Facet*)): Tweak, use consistently _M_remove_reference.
329
70863cbd
PC
3302003-09-30 Paolo Carlini <pcarlini@unitus.it>
331
332 PR libstdc++/12352 (cont)
333 * src/localename.cc (locale::_Impl::_Impl(const char*, size_t)):
334 Don't leak __cloc; don't leak if any of the _M_init_facet(...)
335 calls fail.
336 (locale::_Impl::_Impl(const _Impl&, size_t)): Tweak.
337 (locale::_Impl::~_Impl): Don't do anything if !_M_facets,
338 !_M_caches, !_M_names.
339
51ac684e
RO
3402003-09-29 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
341
342 * configure.host: Handle Solaris 2.5 micro releases explicitly.
343 Remove wildcards from Solaris 2.6, 7-9: there were no
344 micro releases.
345 Treat Solaris 10 and up like 7-9.
346
6821a40b
PC
3472003-09-29 Paolo Carlini <pcarlini@unitus.it>
348
349 * include/bits/stl_algo.h (search_n): Improve the previous
350 fix as suggested by Martin.
351
e5012ba5
PC
3522003-09-29 Paolo Carlini <pcarlini@unitus.it>
353
354 PR libstdc++/12296
355 * include/bits/istream.tcc (peek): Set eofbit if sgetc
356 returns eof.
357 * testsuite/27_io/basic_istream/peek/char/12296.cc:
358 New, from the PR.
359
3602003-09-29 Nathan Myers <ncm@cantrip.org>
361 Paolo Carlini <pcarlini@unitus.it>
362
363 PR libstdc++/11400
364 * include/bits/stl_algo.h (search_n):
365 Use iterator_traits<>::difference_type for __n.
366 * testsuite/25_algorithms/search_n/11400.cc: New, from the PR.
367
6cd6aed7
PC
3682003-09-29 Paolo Carlini <pcarlini@unitus.it>
369
370 * testsuite/22_locale/locale/cons/12352.cc:
371 Use __attribute__((unused)) for test.
372
33b16690
UW
3732003-09-26 Ulrich Weigand <uweigand@de.ibm.com>
374
375 * testsuite/22_locale/time_put/put/char/2.cc (test_02): Allow either
376 "Son" or "So" as abbreviated name for Sunday in de_DE locale.
377 * testsuite/22_locale/time_put/put/wchar_t/2.cc (test_02): Likewise.
378
2d07c3f5
BS
3792003-09-26 Brad Spencer <spencer@infointeractive.com>
380
381 * testsuite/27_io/basic_filebuf/cons/wchar_t/10132-1.cc:
382 Explicitly qualify exceptions.
383 * testsuite/27_io/basic_istream/sentry/char/3983-fstream.cc: Same.
384 * testsuite/27_io/basic_istream/sentry/char/3983-sstream.cc: Same.
385 * testsuite/27_io/basic_ostream/sentry/char/3983-fstream.cc: Same.
386 * testsuite/27_io/basic_ostream/sentry/char/3983-sstream.cc: Same.
387
91675f9d
PC
3882003-09-25 Paolo Carlini <pcarlini@unitus.it>
389
390 PR libstdc++/12352
391 * src/localename.cc (locale::_Impl::_Impl(const _Impl&,
392 size_t)): Don't leak if memory allocations for _M_facets,
393 _M_caches, and _M_names fail.
394 (locale::_Impl::_Impl(const char*, size_t)): Ditto.
395 (locale::_Impl::_M_replace_categories(const _Impl*,
396 category)): Ditto.
397 (locale::_Impl::_M_install_facet(const locale::id*,
398 const facet*)): Ditto.
399 * include/bits/locale_classes.h (locale::locale(const locale&,
400 _Facet*)): Don't leak memory.
401 * testsuite/22_locale/locale/cons/12352.cc: New, from the PR.
402
403 * src/localename.cc (locale::_Impl::_Impl(facet**, size_t,
404 bool)): Qualify with std:: strcpy, tweak.
405 * include/bits/locale_classes.h
406 (locale::_Impl::_M_check_same_name): Qualify strcmp.
407
2b1be54b
BS
4082003-09-25 Brad Spencer <spencer@infointeractive.com>
409
410 PR libstdc++/6072
775ee48e
BK
411 * acinclude.m4: Split out checks for vfwscanf, vswscanf, vwscanf,
412 wcstof, iswblank.
2b1be54b
BS
413 * aclocal.m4: Regenerate.
414 * config.h.in: Regenerate.
415 * configure: Regenerate.
416 * crossconfig.m4: Add in wchar_t bits for solaris crosses.
417 * config/io/basic_file_stdio.cc: Guard unistd.h.
418 * include/c_compatibility/wchar.h: Guard extra wchar_t functionality.
419 * include/c_std/std_cwchar.h: Same.
420 * include/c_std/std_cwctype.h: Same.
421
465ad0c7
BK
4222003-09-25 Benjamin Kosnik <bkoz@redhat.com>
423
775ee48e 424 PR libstdc++/11065
465ad0c7
BK
425 * config/locale/gnu/ctype_members.cc (ctype<wchar_t>::do_is): Fix.
426 * config/locale/generic/ctype_members.cc: Same.
427 * testsuite/22_locale/ctype/is/char/1.cc: Initialize mask.
428 * testsuite/22_locale/ctype/is/wchar_t/1.cc: Same.
429
430 * config/os/generic/ctype_inline.h: Update.
431
7b865c36
UW
4322003-09-25 Ulrich Weigand <uweigand@de.ibm.com>
433
434 * src/Makefile.am (version_dep): New variable.
435 (libstdc___la_DEPENDENCIES): Use it to add dependency on
436 libstdc++-symbol.ver only when using symbol versioning.
437 * src/Makefile.in: Regenerate.
438
11f10e6b
BK
4392003-09-23 Benjamin Kosnik <bkoz@redhat.com>
440
441 * include/bits/locale_facets.tcc: Tweak to avoid warnings.
442 * testsuite/testsuite_hooks.h: Same.
443 * testsuite/*/*.cc: Same.
444
89ec0c4b
PR
4452003-09-22 Petur Runolfsson <peturr02@ru.is>
446
447 * include/bits/istream.tcc (basic_istream::read,
448 basic_istream::readsome, basic_istream::putback,
449 basic_istream::unget, operator>>(basic_istream, CharT)):
450 Avoid redundant setstate(failbit) calls when sentry::operator bool()
451 returns false.
452
dc25fbc7
CW
4532003-09-22 Carlo Wood <carlo@alinoe.com>
454
455 PR libstdc++/12365
456 * include/bits/demangle.h (qualifier(int, cv_qualifier_nt,
457 char const*, int, int)): Remove unused identifier
458 cv_qualifier for overloaded constructor.
459
b2bc3339
BK
4602003-09-18 Benjamin Kosnik <bkoz@redhat.com>
461
462 PR libstdc++/11504
463 * acinclude.m4 (GLIBCXX_EXPORT_FLAGS): Add -Wcast-qual to
464 WARN_FLAGS, remove -Wno-format.
465 * aclocal.m4: Regenerate.
466 * configure: Regenerate.
467
0b5ce4f1
PR
4682003-09-18 Petur Runolfsson <peturr02@ru.is>
469
470 * config/io/basic_file_stdio.cc (sys_getc, sys_ungetc): Delete.
471 * config/io/basic_file_stdio.h: Same.
472 * include/std/std_fstream.h (__ctype_type): Delete.
473 * include/std/std_streambuf.h (__ctype_type, __state_type): Delete.
474
43892f8c
BK
4752003-09-17 Benjamin Kosnik <bkoz@redhat.com>
476
477 PR libstdc++/12239
478 * configure.host (abi_baseline_pair): Error out on solaris2
479 configurations without a minor version number.
480
4bc8ae23
PE
4812003-09-13 Phil Edwards <phil@codesourcery.com>
482
483 * docs/doxygen/run_doxygen: Clear GENERATE_TAGFILE entirely
484 if man pages are on.
485 * docs/doxygen/user.cfg.in: And here.
486
dbc66058
DJ
4872003-09-10 Daniel Jacobowitz <drow@mvista.com>
488 Andreas Jaeger <aj@suse.de>
489
490 PR libstdc++/12189
491 * acinclude.m4 (GLIBCXX_CONFIGURE_TESTSUITE): Don't build
492 abi_check if cross compiling.
493 * aclocal.m4: Regenerated.
494 * configure: Regenerated.
495
520abf69
JO
4962003-09-10 Jeffrey D. Oldham <oldham@codesourcery.com>
497
498 * libsupc++/vec.cc (__cxa_vec_new2): If the allocator returns
499 NULL, return NULL. This reflects a C++ ABI change 2003 Sep 05.
500 (__cxa_vec_new3): Likewise.
501
8c8dec01
PR
5022003-09-10 Petur Runolfsson <peturr02@ru.is>
503
504 * include/bits/fstream.tcc (basic_filebuf::seekoff):
505 Use codecvt::length to handle variable-width stateless encodings
506 correctly.
507 * testsuite/27_io/basic_filebuf/seekoff/wchar_t/1.cc: New test.
508 * testsuite/27_io/basic_filebuf/seekoff/wchar_t/2.cc: New test.
509
80e46d77
AM
5102003-09-10 Alan Modra <amodra@bigpond.net.au>
511
512 * config/io/basic_file_stdio.cc (_M_open_mode): Assign __p_mode
513 rather than or'ing.
514
e517f636
AM
5152003-09-09 Alan Modra <amodra@bigpond.net.au>
516
517 * configure: Regenerate.
518
263594d2
DE
5192003-09-09 David Edelsohn <edelsohn@gnu.org>
520
521 * src/ios.cc (ios_base::Init::Init): Remove unnecessary
522 qualifier from _S_synced_with_stdio.
523
5242003-09-09 Bernardo Innocenti <bernie@develer.com>
e7f115de
BI
525
526 * include/c_std/std_cstdlib.h: Avoid using missing C library symbols.
527
f1813b69
PR
5282003-09-04 Petur Runolfsson <peturr02@ru.is>
529
530 PR libstdc++/9028
531 * include/bits/fstream.tcc
532 (basic_filebuf::_M_destroy_internal_buffer): Destroy _M_ext_buf.
533 (basic_filebuf::basic_filebuf): Initialize _M_ext_buf,
534 _M_ext_buf_size, _M_ext_next and _M_ext_end.
535 (basic_filebuf::underflow): Handle variable-width stateless
536 encodings (codecvt::encoding() == 0), including UTF-8.
537 * include/std/std_fstream.h (basic_filebuf):
538 Declare _M_ext_buf, _M_ext_buf_size, _M_ext_next, _M_ext_end.
539 * testsuite/27_io/basic_filebuf/underflow/wchar_t/1.cc: New test.
540 * testsuite/27_io/basic_filebuf/underflow/wchar_t/2.cc: New test.
541 * testsuite/27_io/basic_filebuf/underflow/wchar_t/3.cc: New test.
542 * testsuite/27_io/basic_filebuf/underflow/wchar_t/4.cc: New test.
543 * testsuite/27_io/basic_filebuf/underflow/wchar_t/5.cc: New test.
544 * testsuite/27_io/objects/wchar_t/12.cc: New test.
545 * testsuite/27_io/objects/wchar_t/13.cc: New test.
546
7976070c
JW
5472003-09-04 Jonathan Wakely <redi@gcc.gnu.org>
548
549 * docs/html/faq/index.html: Note that a namespace alias can't be
550 used when specialising templates in extension namespace.
551 * docs/html/faq/index.txt: Regenerate.
552
149639d4
PR
5532003-09-03 Petur Runolfsson <peturr02@ru.is>
554
555 PR libstdc++/12048
556 * include/ext/stdio_sync_filebuf.h
557 (stdio_sync_filebuf::_M_unget_buf): Declare it.
558 (stdio_sync_filebuf::stdio_sync_filebuf): Initialize _M_unget_buf.
559 (stdio_sync_filebuf::uflow): Store the returned character in
560 _M_unget_buf.
561 (stdio_sync_filebuf::pbackfail): If argument is eof(), pass
562 _M_unget_buf to syncungetc(). Set _M_unget_buf to eof().
563 (stdio_sync_filebuf<char>::xsgetn): Store last read character in
564 _M_unget_buf, if any, else eof().
565 (stdio_sync_filebuf<wchar_t>::xsgetn: Store last read character in
566 _M_unget_buf, if any, else eof().
567 * testsuite/27_io/objects/char/12048.cc: Rename to...
568 * testsuite/27_io/objects/char/12048-1.cc: ...this.
569 * testsuite/27_io/objects/char/12048-2.cc: New test.
570 * testsuite/27_io/objects/char/12048-3.cc: New test.
571 * testsuite/27_io/objects/char/12048-4.cc: New test.
572 * testsuite/27_io/objects/char/12048-5.cc: New test. XFAIL.
573 * testsuite/27_io/objects/wchar_t/12048-1.cc: New test.
574 * testsuite/27_io/objects/wchar_t/12048-2.cc: New test.
575 * testsuite/27_io/objects/wchar_t/12048-3.cc: New test.
576 * testsuite/27_io/objects/wchar_t/12048-4.cc: New test.
577 * testsuite/27_io/objects/wchar_t/12048-5.cc: New test. XFAIL.
578 * testsuite/ext/stdio_sync_filebuf_char.cc
579 (test02, test03, test04, test05): New tests.
580 * testsuite/ext/stdio_sync_filebuf_wchar_t.cc
581 (test02, test03, test04, test05): New tests.
582
5832003-09-03 Petur Runolfsson <peturr02@ru.is>
584
585 * docs/html/27_io/howto.html: setbuf(0, 0) has no effect on
586 stringbuf or strstreambuf. Fix typos.
587
3660e02f
PE
5882003-09-02 Phil Edwards <phil@codesourcery.com>
589
590 * acinclude.m4 (GLIBCXX_ENABLE_HOSTED): #define _GLIBCXX_HOSTED
591 appropriately.
592 * config.h.in: Add _GLIBCXX_HOSTED.
593 * libsupc++/eh_term_handler.cc: Test it here; initialize
594 __terminate_handler to std::abort if freestanding.
595 * aclocal.m4, configure: Regenerated.
596 * docs/html/configopts.html: Document --disable-hosted-libstdcxx.
597
a3aff86a
NM
5982003-08-29 Nathan Myers <ncm@cantrip.org>
599
600 PR libstdc++/11990
601 * include/bits/locale_facets.tcc (__pad): delete dead code.
602
f5cf58dd
AM
6032003-08-28 Alan Modra <amodra@bigpond.net.au>
604
605 * configure.ac: Test $with_cross_host against $build_alias, not $build.
606 * configure: Regenerate.
607
3bedd161
PR
6082003-08-27 Petur Runolfsson <peturr02@ru.is>
609
610 * testsuite/27_io/objects/wchar_t/10.cc: Move wcout stuff...
611 * testsuite/27_io/objects/wchar_t/11.cc: ...here. New file.
612
ca618b60
PE
6132003-08-27 Phil Edwards <pme@gcc.gnu.org>
614
615 * Makefile.am: Remove trailing whitespace. Remove needless
616 "foo = @foo@" assignments. Replace direct uses of @foo@ with $(foo).
617 * include/Makefile.am: Likewise.
618 * libmath/Makefile.am: Likewise.
619 * libsupc++/Makefile.am: Likewise.
620 * po/Makefile.am: Likewise.
621 * src/Makefile.am: Likewise.
622 * testsuite/Makefile.am: Likewise.
623
624 * Makefile.in, include/Makefile.in, libmath/Makefile.in,
625 libsupc++/Makefile.in, po/Makefile.in, src/Makefile.in,
626 testsuite/Makefile.in: Regenerated.
627
37e0ff11
PE
6282003-08-27 Phil Edwards <pme@gcc.gnu.org>
629
630 * acinclude.m4 (GLIBCXX_EXPORT_INCLUDES): Change quoting of
631 includedir.
632 * aclocal.m4, configure: Regenerate.
633
72730fdb
DJ
6342003-08-27 Daniel Jacobowitz <drow@mvista.com>
635
636 * acinclude.m4: Include no-executables.m4.
637 * configure.ac: Uncomment GCC_NO_EXECUTABLES.
638 * aclocal.m4: Regenerated.
639 * configure: Regenerated.
640
ec0d7421
DJ
6412003-08-27 Daniel Jacobowitz <drow@mvista.com>
642
643 * acinclude.m4: Don't call AC_ISC_POSIX.
644 * aclocal.m4: Regenerated.
645 * configure: Regenerated.
646
92eabea2
PE
6472003-08-27 Phil Edwards <pme@gcc.gnu.org>
648
649 * acinclude.m4 (GLIBCXX_CONDITIONAL): New macro. Wrap
650 AM_CONDITIONAL. Replace all calls to AM_CONDITIONAL with this one.
651 (GLIBCXX_ENABLE_HOSTED): New macro, sets new variable is_hosted,
652 used elsewhere in this file.
653 (GLIBCXX_EVALUATE_CONDITIONALS): New macro...
654 * configure.ac: ...called here to expand all conditionals.
655 * Makefile.am: Conditionalize SUBDIRS on GLIBCXX_HOSTED.
656 * include/Makefile.am: Remove redundant gxx_include_dir assignment.
657 (install-freestanding-headers): New target, a subset of
658 install-headers. Conditionalize install-data-local on GLIBCXX_HOSTED.
659
660 * aclocal.m4, configure, Makefile.in, include/Makefile.in,
661 libmath/Makefile.in, libsupc++/Makefile.in, po/Makefile.in,
662 src/Makefile.in, testsuite/Makefile.in: Regenerated.
663
a43d13fb
PE
6642003-08-26 Phil Edwards <pme@gcc.gnu.org>
665
666 * docs/doxygen/run_doxygen: Shell fixes. Remove hardcoded local
667 pathnames from generated tag file.
668
82ba99d5
PE
6692003-08-26 Phil Edwards <pme@gcc.gnu.org>
670
671 * Makefile.am: Add comment.
672 * acinclude.m4 (GLIBCXX_CONFIGURE): Set new glibcxx_SUBDIRS and
673 SUBDIRS variables.
674 * configure.ac: Use them both here, instead of hardcoded lists.
675
676 * fragment.am: Add STAMP varaible.
677 * include/Makefile.am: Cosmetic whitespace cleanup. Use $(LN_S)
678 instead of @LN_S@.
679 (stamp-*): Move file creation rule outside of 'if' branches to
680 ensure the stamp-* files are actually updated. Use $(STAMP).
681 * src/Makefile.am: Remove now-nonexistant variable.
682 * libsupc++/Makefile.am: Likewise. Snap the assignment chain
683 for -prefer-pic.
684 * po/Makefile.am: Include same fragment as all the others.
685
686 * aclocal.m4, configure, Makefile.in, include/Makefile.in,
687 libsupc++/Makefile.in, po/Makefile.in, src/Makefile.in: Regenerated.
688
73780bfe
LR
6892003-08-26 Loren J. Rittle <ljrittle@acm.org>
690
691 * testsuite/data/cin_unget-1.txt: New.
692 * testsuite/27_io/objects/char/12048.cc: New.
693
7e2055ec
ZW
6942003-08-25 Zack Weinberg <zack@codesourcery.com>
695
696 * config/os/hpux/os_defines.h: Unconditionally define
697 _GLIBCXX_GTHREAD_USE_WEAK to 0.
698
a6f3e253
GK
6992003-08-19 Geoffrey Keating <geoffk@apple.com>
700
701 * crossconfig.m4 (*-darwin*): Add a large and boring stanza for
702 crosses to Darwin targets.
703 * configure: Regenerate.
704
1b391ba9
PR
7052003-08-19 Petur Runolfsson <peturr02@ru.is>
706
7e2055ec
ZW
707 * include/ext/ropeimpl.h: #include <ostream> instead of <iostream>
708
77e862fa
PE
7092003-08-17 Phil Edwards <pme@gcc.gnu.org>
710
711 * configure.ac: GCC_NO_EXECUTABLES was supposed to be commented
712 in the patch from 3 minutes ago. Boy, is my face red.
713 * configure: At least I remembered to regenerate this.
714
0df3f383
PE
7152003-08-17 Phil Edwards <pme@gcc.gnu.org>
716
717 * acinclude.m4 (GLIBCXX_EXPORT_INCLUDES): Remove LIBMATH_INCLUDES
718 and LIBSUPCXX_INCLUDES. Re-purpose TOPLEVEL_INCLUDES to refer to
719 things from the top level.
720 * configure.ac (GLIBCXX_IS_NATIVE): Determine earlier and re-order.
721 Comment out the conditionals for CANADIAN and GLIBCXX_BUILD_LIBMATH
722 (currently unused). Strip the fake-VPATH shell fragment from
723 automake-generated rules, if present.
724 * linkage.m4: Add comment.
725
726 * fragment.am: New file, containing factored-out common settings.
727 (AM_CPPFLAGS): Absorb the deprecated INCLUDES variable contents.
728 * Makefile.am: Include fragment.am. Remove common variables.
729 * include/Makefile.am: Likewise.
730 * libmath/Makefile.am: Likewise.
731 * libsupc++/Makefile.am: Likewise.
732 * po/Makefile.am: Likewise. Print rules during check.
733 * src/Makefile.am: Likewise.
734 * testsuite/Makefile.am: Likewise.
735
736 * aclocal.m4, configure, Makefile.in, include/Makefile.in,
737 libmath/Makefile.in, libsupc++/Makefile.in, po/Makefile.in,
738 src/Makefile.in, testsuite/Makefile.in: Regenerate.
739
e885821f
JL
7402003-08-11 John Levon <levon@movementarian.org>
741
742 * docs/html/ext/howto/guide.html (GLIBCXX_FORCE_NEW): Update
743 remaining places for the name change from GLIBCPP_FORCE_NEW
744 to GLIBCXX_FORCE_NEW
745
2803847d
BK
7462003-08-11 Benjamin Kosnik <bkoz@redhat.com>
747
748 * include/bits/basic_ios.h: Remove *_iter typedefs, change num*
7e2055ec 749 typedefs to num_*.
2803847d
BK
750 * include/bits/basic_ios.tcc: Same.
751 * include/bits/istream.tcc: Same.
752 * include/bits/locale_facets.h: Same.
753 * include/bits/ostream.tcc: Same.
754 * include/std/std_istream.h: Same.
755 * include/std/std_ostream.h: Same.
756 * testsuite/26_numerics/complex_inserters_extractors.cc: Fix.
757
758 * include/ext/rope: Remove build warning.
7e2055ec 759
51c1f3c9
AJ
7602003-08-11 Andreas Jaeger <aj@suse.de>
761
762 * include/Makefile.am (stamp-c_base): Add dependency on stamp-bits
763 to make SMP-safe.
764 * include/Makefile.in: Regenerated.
765
f6dda651
PE
7662003-08-11 Phil Edwards <pme@gcc.gnu.org>
767
768 * acinclude.m4 (GLIBCXX_CONFIGURE): Unprecious CC and CFLAGS
769 when calling AC_PROG_CC.
770 * aclocal.m4, configure: Regenerate.
771
fbe057bb
PE
7722003-08-11 Phil Edwards <pme@gcc.gnu.org>
773
774 * acinclude.m4: Properly quote variable which will be expanded
775 inside makefiles. Use CXX instead of CC to extract compiler info.
776 * configure.ac (AC_INIT): Use the new 4-arg form to finally get the
777 correct form in PACKAGE.
778 * aclocal.m4, configure: Regenerate.
779
258e7dbc
BK
7802003-08-08 Benjamin Kosnik <bkoz@redhat.com>
781
782 * testsuite/Makefile.am (check-abi): Change libstdc++-v3 to libstdc++.
783 (check-abi-verbose): Same.
784 * testsuite/testsuite_performance.h (report_performance): Same.
7e2055ec 785
3e083bea
LR
7862003-08-08 Loren J. Rittle <ljrittle@acm.org>
787
788 * testsuite/testsuite_performance.h (__FreeBSD__): Add fake mallinfo.
789
5a9ed693
DG
7902003-08-07 Doug Gregor <dgregor@apple.com>
791
7e2055ec
ZW
792 * include/bits/char_traits.h (char_traits::not_eof): Match operand
793 types in ? :.
5a9ed693 794
4e9ebd4b
BI
7952003-08-07 Bernardo Innocenti <bernie@develer.com>
796
797 PR libstdc++/11784
798 * libstdc++-v3/config/cpu/m68k/atomicity.h (__exchange_and_add):
799 Replace variants with new BSET-based version.
7e2055ec 800
a9ebaa2b
CW
8012003-08-07 Carlo Wood <carlo@alinoe.com>
802
0df3f383 803 * include/bits/demangle.h: Do not use cctype functions that depend
a9ebaa2b 804 on locale.
7e2055ec 805
8b171e55
PE
8062003-08-05 Phil Edwards <pme@gcc.gnu.org>
807
808 * configure.in: Rename...
809 * configure.ac: ...to this.
810 * docs/html/17_intro/porting.texi: Update name.
811
812 * docs/html/17_intro/porting.html: Regenerate.
813 * config.h.in, Makefile.in, include/Makefile.in, libmath/Makefile.in,
814 libsupc++/Makefile.in, po/Makefile.in, src/Makefile.in,
815 testsuite/Makefile.in: Regenerate (picks up new dependancy).
816
1260d70f
PE
8172003-08-05 Phil Edwards <pme@gcc.gnu.org>
818
819 * acinclude.m4 (GLIBCXX_ENABLE_SJLJ_EXCEPTIONS): Put down the crack
820 pipe, open the window to let out the fumes, redo the option-handling
821 logic to properly execute the detection test.
822 * aclocal.m4, configure: Regenerate.
823
ff66d28f
PE
8242003-08-04 Phil Edwards <pme@gcc.gnu.org>
825
826 Convert to new autotools.
827 * acconfig.h: Update with correct names.
828 * configure.host (ATOMICITYH): Rename to atomicity_include_dir.
829 (qnx6.[12]*): 'q' comes before 's', not after 'w'.
830 * configure.in: Update. Split hardcoded cross-configury settings
831 out to...
832 * crossconfig.m4: ...here. New file. Contents untouched.
833 * acinclude.m4: Reorganize and rewrite as needed. Split large
834 chunks out to...
835 * linkage.m4: ...here. New file. Math and stdlib linkage tests.
836 Contents untouched.
837 * scripts/testsuite_flags.in: Update.
838
839 * Makefile.am: Remove unneeded AUTOMAKE_OPTIONS settings and other
840 variables (already generated by automake).
841 * include/Makefile.am: Ditto.
842 * libmath/Makefile.am: Ditto.
843 * libsupc++/Makefile.am: Ditto.
844 * po/Makefile.am: Ditto.
845 * src/Makefile.am: Ditto.
846
847 * aclocal.m4: Regenerate using new versions.
848 * config.h.in: Ditto.
849 * configure: Ditto.
850 * Makefile.in: Ditto.
851 * include/Makefile.in: Ditto.
852 * libmath/Makefile.in: Ditto.
853 * libsupc++/Makefile.in: Ditto.
854 * po/Makefile.in: Ditto.
855 * src/Makefile.in: Ditto.
856 * testsuite/Makefile.in: Ditto.
857
5e7c251d
PE
8582003-08-04 Phil Edwards <pme@gcc.gnu.org>
859
860 * po/libstdc++.pot: Re-extract/regenerate.
861
caf21254
PE
8622003-08-04 Phil Edwards <pme@gcc.gnu.org>
863
864 * testsuite/Makefile.am (DEJATOOL,EXPECT,RUNTEST,RUNTESTFLAGS):
865 Remove unneeded variable assignments. Leave them for automake.
866 * testsuite/lib/libstdc++-v3.exp: Rename...
867 * testsuite/lib/libstdc++.exp: ...to this. Adjust function names
868 accordingly.
869 * testsuite/libstdc++-v3.dg/dg.exp: Rename...
870 * testsuite/libstdc++-dg/normal.exp: ...to this. Adjust function
871 names accordingly.
872
f7ab5fa4
PE
8732003-08-04 Phil Edwards <pme@gcc.gnu.org>
874
875 * docs/doxygen/guide.html: run_doxygen uses bash.
876 * docs/doxygen/mainpage.html: We'll be shipping tag files.
877 * docs/doxygen/run_doxygen: Tweaks and improvements.
878 * docs/doxygen/user.cfg.in: Set GENERATE_TAGFILE.
879 * docs/html/install.html: Update autoconf/automake requirements.
880 * docs/html/test.html: Add section describing DejaGNU support.
881 * docs/html/17_intro/confdeps.dot: New file, generates...
882 * docs/html/17_intro/confdeps.png: ...this new file.
883 * docs/html/Makefile: Generated here.
884 * docs/html/17_intro/configury.html: New file.
885
b3f2a032
PE
8862003-07-31 Phil Edwards <pme@gcc.gnu.org>
887
888 * testsuite/lib/libstdc++-v3-dg.exp: Rename...
889 * testsuite/lib/libstdc++-v3.exp: ...to this.
890 * testsuite/libstdc++-v3.dg/dg.exp: No special case needed now.
891
e64a227a
DG
8922003-07-31 Doug Gregor <dgregor@apple.com>
893
894 Add user specialization tests.
895 * testsuite/23_containers/deque/1.cc: New.
896 * testsuite/23_containers/list/1.cc: New.
897 * testsuite/23_containers/map/1.cc: New.
898 * testsuite/23_containers/multimap/1.cc: New.
899 * testsuite/23_containers/multiset/1.cc: New.
900 * testsuite/23_containers/set/1.cc: New.
901 * testsuite/23_containers/vector/1.cc: New.
7e2055ec 902
17472bb6
BK
9032003-07-31 Benjamin Kosnik <bkoz@redhat.com>
904
905 Reshuffle 23_containers testsuite.
7e2055ec 906 * 23_containers/adaptors.cc, bitset_ctor.cc,bitset_members.cc,
17472bb6
BK
907 bitset_shift.cc, deque_ctor.cc, deque_operators.cc,
908 list_capacity.cc, list_ctor.cc, list_modifiers.cc, list_operators.cc,
909 map_insert.cc, map_operators.cc, map_operators_neg.cc, multiset.cc,
910 set_operators_neg.cc, vector_bool.cc, vector_capacity.cc,
911 vector_ctor.cc, vector_element_access.cc, vector_modifiers.cc,
912 vector_resize.cc: Split into...
913 * 23_containers/bitset/cons/1.cc: New.
914 * 23_containers/bitset/cons/6282.cc: New.
915 * 23_containers/bitset/count/6124.cc: New.
916 * 23_containers/bitset/operations/1.cc: New.
917 * 23_containers/bitset/operations/2.cc: New.
918 * 23_containers/bitset/test/1.cc: New.
919 * 23_containers/bitset/to_ulong/1.cc: New.
920 * 23_containers/deque/cons/1.cc: New.
921 * 23_containers/deque/cons/2.cc: New.
922 * 23_containers/deque/operators/1.cc: New.
923 * 23_containers/list/capacity/1.cc: New.
924 * 23_containers/list/cons/1.cc: New.
925 * 23_containers/list/cons/2.cc: New.
926 * 23_containers/list/cons/3.cc: New.
927 * 23_containers/list/cons/4.cc: New.
928 * 23_containers/list/cons/5.cc: New.
929 * 23_containers/list/cons/6.cc: New.
930 * 23_containers/list/cons/7.cc: New.
931 * 23_containers/list/cons/8.cc: New.
932 * 23_containers/list/cons/9.cc: New.
933 * 23_containers/list/modifiers/1.cc: New.
934 * 23_containers/list/modifiers/2.cc: New.
935 * 23_containers/list/modifiers/3.cc: New.
936 * 23_containers/list/operators/1.cc: New.
937 * 23_containers/list/operators/2.cc: New.
938 * 23_containers/list/operators/3.cc: New.
939 * 23_containers/list/operators/4.cc: New.
940 * 23_containers/map/insert/1.cc: New.
941 * 23_containers/map/operators/1.cc: New.
942 * 23_containers/map/operators/1_neg.cc: New.
943 * 23_containers/multiset/insert/1.cc: New.
944 * 23_containers/priority_queue/members/7161.cc: New.
945 * 23_containers/queue/members/7157.cc: New.
946 * 23_containers/set/operators/1_neg.cc: New.
947 * 23_containers/stack/members/7158.cc: New.
948 * 23_containers/vector/bool/1.cc: New.
949 * 23_containers/vector/bool/6886.cc: New.
950 * 23_containers/vector/capacity/1.cc: New.
951 * 23_containers/vector/capacity/2.cc: New.
952 * 23_containers/vector/capacity/8230.cc: New.
953 * 23_containers/vector/cons/1.cc: New.
954 * 23_containers/vector/cons/2.cc: New.
955 * 23_containers/vector/cons/3.cc: New.
956 * 23_containers/vector/cons/4.cc: New.
957 * 23_containers/vector/cons/6513.cc: New.
958 * 23_containers/vector/element_access/1.cc: New.
959 * 23_containers/vector/modifiers/1.cc: New.
960 * 23_containers/vector/modifiers/2.cc: New.
961 * 23_containers/vector/resize/1.cc: New.
7e2055ec 962
515aab7c
RO
9632003-07-31 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
964
965 * testsuite/thread/pthread1.cc: Add alpha*-*-osf* to dg-do run,
966 dg-options.
967 * testsuite/thread/pthread2.cc: Likewise.
968 * testsuite/thread/pthread3.cc: Likewise.
969 * testsuite/thread/pthread4.cc: Likewise.
970 * testsuite/thread/pthread5.cc: Likewise.
971 * testsuite/thread/pthread6.cc: Likewise.
972 * testsuite/thread/pthread7-rope.cc: Likewise.
973
1051c718
PE
9742003-07-30 Phil Edwards <pme@gcc.gnu.org>
975
976 * include/bits/c++config: Partial reversion (comment placement) of
977 previous patch.
978
5f697f7a
BK
9792003-07-30 Benjamin Kosnik <bkoz@redhat.com>
980
981 * include/bits/c++config (_GLIBCXX_FULLY_COMPLIANT_HEADERS): Remove.
982 (_GLIBCXX_NO_TEMPLATE_EXPORT): To _GLIBCXX_EXPORT_TEMPLATE.
983 (_GLIBCXX_AT_AT): Remove.
984 (__USE_MALLOC): Remove.
985 * include/std/std_fstream.h: Modify.
986 * include/bits/basic_ios.h: Same.
987 * include/bits/valarray_array.h: Same.
988 * include/c_std/std_cmath.h: Same.
989 * include/c_std/cmath.tcc: Same.
990 * include/std/std_vector.h: Same.
991 * include/std/std_string.h: Same.
992 * include/std/std_stack.h: Same.
993 * include/std/std_queue.h: Same.
994 * include/std/std_list.h: Same.
995 * include/std/std_deque.h: Same.
996 * include/std/std_streambuf.h: Same.
997 * include/std/std_sstream.h: Same.
998 * include/std/std_ostream.h: Same.
999 * include/std/std_istream.h: Same.
1000 * include/bits/valarray_array.tcc: Same, format.
1001
1002 * include/c/std_cctype.h: Fix include guards.
1003 * include/c/std_cerrno.h: Same.
1004 * include/c/std_cfloat.h: Same.
1005 * include/c/std_climits.h: Same.
1006 * include/c/std_clocale.h: Same.
1007 * include/c/std_cmath.h: Same.
1008 * include/c/std_csetjmp.h: Same.
1009 * include/c/std_csignal.h: Same.
1010 * include/c/std_cstdarg.h: Same.
1011 * include/c/std_cstddef.h: Same.
1012 * include/c/std_cstdio.h: Same.
1013 * include/c/std_cstdlib.h: Same.
1014 * include/c/std_cstring.h: Same.
1015 * include/c/std_ctime.h: Same.
1016 * include/c/std_cwchar.h: Same.
1017 * include/c/std_cwctype.h: Same.
1018 * include/c_std/cmath.tcc: Same.
1019 * include/c_std/std_cmath.h: Same.
7e2055ec 1020
b4c70e89
GB
10212003-07-30 Gawain Bolton <gp.bolton@computer.org>
1022
7e2055ec 1023 PR libstdc++/11504.
b4c70e89
GB
1024 * include/bits/stl_tree.h: Replace C-style casts with C++-style
1025 casts. Changes to avoid casting away constness. Eliminate
1026 _Rb_tree_base_iterator class. Change _Rb_tree_iterator to use
1027 initialization lists. Move out implementation of __black_count()
1028 to...
7e2055ec
ZW
1029 * src/stl_tree.cc: ...here and rename _Rb_tree_black_count().
1030 Rename_Rb_tree_base_iterator::_M_increment() to
1031 _Rb_tree_increment and _Rb_tree_base_iterator::_M_decrement() to
1032 _Rb_tree_decrement.
1033 * config/linker-map.gnu: Add and change symbols here.
b4c70e89 1034
48b3222d
JW
10352003-07-30 Jonathan Wakely <redi@gcc.gnu.org>
1036
1037 * docs/html/22_locale/howto.html: Use locale::classic() instead
1038 of locale("C").
1039
cb584bcf
BK
10402003-07-28 Benjamin Kosnik <bkoz@redhat.com>
1041
1042 * testsuite/testsuite_hooks.h: Remove list include.
1043 (func_callback): Define as unique type, not std::list.
1044 Change DEBUG_ASSERT to _GLIBCXX_ASSERT.
1045 * testsuite/libstdc++-v3.dg/dg.exp: Same.
1046 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Same.
7e2055ec 1047 * testsuite/23_containers/bitset_ctor.cc:
cb584bcf
BK
1048 * testsuite/17_intro/header_ciso646.cc: Remove DEBUG_ASSERT.
1049 * testsuite/18_support/numeric_limits.cc: Same.
1050 * testsuite/21_strings/basic_string/append/char/1.cc: Same.
1051 * testsuite/21_strings/basic_string/append/wchar_t/1.cc: Same.
1052 * testsuite/21_strings/basic_string/compare/char/1.cc: Same.
1053 * testsuite/21_strings/basic_string/compare/wchar_t/1.cc: Same.
1054 * testsuite/21_strings/basic_string/element_access/char/1.cc: Same.
1055 * testsuite/21_strings/basic_string/element_access/char/2.cc: Same.
1056 * testsuite/21_strings/basic_string/element_access/char/3.cc: Same.
1057 * testsuite/21_strings/basic_string/element_access/wchar_t/1.cc: Same.
1058 * testsuite/21_strings/basic_string/element_access/wchar_t/2.cc: Same.
1059 * testsuite/21_strings/basic_string/element_access/wchar_t/3.cc: Same.
1060 * testsuite/21_strings/basic_string/find/char/1.cc: Same.
1061 * testsuite/21_strings/basic_string/find/char/2.cc: Same.
1062 * testsuite/21_strings/basic_string/find/char/3.cc: Same.
1063 * testsuite/21_strings/basic_string/find/wchar_t/1.cc: Same.
1064 * testsuite/21_strings/basic_string/find/wchar_t/2.cc: Same.
1065 * testsuite/21_strings/basic_string/find/wchar_t/3.cc: Same.
1066 * testsuite/21_strings/basic_string/insert/char/1.cc: Same.
1067 * testsuite/21_strings/basic_string/insert/char/2.cc: Same.
1068 * testsuite/21_strings/basic_string/insert/wchar_t/1.cc: Same.
1069 * testsuite/21_strings/basic_string/insert/wchar_t/2.cc: Same.
7e2055ec
ZW
1070 * testsuite/21_strings/basic_string/inserters_extractors/char/1.cc:
1071 * testsuite/21_strings/basic_string/inserters_extractors/char/4.cc:
1072 * testsuite/21_strings/basic_string/inserters_extractors/char/5.cc:
1073 * testsuite/21_strings/basic_string/inserters_extractors/char/6.cc:
1074 * testsuite/21_strings/basic_string/inserters_extractors/char/7.cc:
1075 * testsuite/21_strings/basic_string/inserters_extractors/wchar_t/1.cc:
1076 * testsuite/21_strings/basic_string/inserters_extractors/wchar_t/4.cc:
1077 * testsuite/21_strings/basic_string/inserters_extractors/wchar_t/5.cc:
1078 * testsuite/21_strings/basic_string/inserters_extractors/wchar_t/6.cc:
1079 * testsuite/21_strings/basic_string/inserters_extractors/wchar_t/7.cc:
cb584bcf
BK
1080 * testsuite/21_strings/basic_string/operators/char/1.cc: Same.
1081 * testsuite/21_strings/basic_string/operators/char/2.cc: Same.
1082 * testsuite/21_strings/basic_string/operators/wchar_t/1.cc: Same.
1083 * testsuite/21_strings/basic_string/operators/wchar_t/2.cc: Same.
1084 * testsuite/21_strings/basic_string/replace/char/1.cc: Same.
1085 * testsuite/21_strings/basic_string/replace/wchar_t/1.cc: Same.
1086 * testsuite/21_strings/basic_string/rfind/char/1.cc: Same.
1087 * testsuite/21_strings/basic_string/rfind/char/2.cc: Same.
1088 * testsuite/21_strings/basic_string/rfind/char/3.cc: Same.
1089 * testsuite/21_strings/basic_string/rfind/wchar_t/1.cc: Same.
1090 * testsuite/21_strings/basic_string/rfind/wchar_t/2.cc: Same.
1091 * testsuite/21_strings/basic_string/rfind/wchar_t/3.cc: Same.
1092 * testsuite/21_strings/basic_string/substr/char/1.cc: Same.
1093 * testsuite/21_strings/basic_string/substr/wchar_t/1.cc: Same.
1094 * testsuite/23_containers/bitset_ctor.cc: Same.
1095 * testsuite/23_containers/bitset_shift.cc: Same.
1096 * testsuite/23_containers/vector_ctor.cc: Same.
1097 * testsuite/23_containers/vector_element_access.cc: Same.
1098 * testsuite/24_iterators/istreambuf_iterator.cc: Same.
1099 * testsuite/24_iterators/iterator.cc: Same.
1100 * testsuite/24_iterators/ostreambuf_iterator.cc: Same.
1101 * testsuite/25_algorithms/lower_bound.cc: Same.
1102 * testsuite/26_numerics/complex_inserters_extractors.cc: Same.
1103 * testsuite/27_io/basic_istream/extractors_arithmetic/char/01.cc: Same.
1104 * testsuite/27_io/basic_istream/extractors_arithmetic/char/02.cc: Same.
1105 * testsuite/27_io/basic_istream/extractors_arithmetic/char/03.cc: Same.
1106 * testsuite/27_io/basic_istream/extractors_arithmetic/char/06.cc: Same.
1107 * testsuite/27_io/basic_istream/extractors_arithmetic/char/07.cc: Same.
1108 * testsuite/27_io/basic_istream/extractors_arithmetic/char/08.cc: Same.
1109 * testsuite/27_io/basic_istream/extractors_arithmetic/char/09.cc: Same.
1110 * testsuite/27_io/basic_istream/extractors_arithmetic/char/10.cc: Same.
1111 * testsuite/27_io/basic_ostream/inserters_arithmetic/char/1.cc: Same.
7e2055ec
ZW
1112 * testsuite/27_io/basic_ostream/inserters_arithmetic/wchar_t/1.cc:
1113 Same.
1114
1cb1de7e
PE
11152003-07-28 Phil Edwards <pme@gcc.gnu.org>
1116
1117 * docs/doxygen/user.cfg.in, docs/html/abi.txt, docs/html/debug.html,
1118 docs/html/test.html, docs/html/17_intro/headers_cc.txt,
1119 docs/html/17_intro/howto.html, docs/html/ext/howto.html: Change
1120 GLIBCPP to GLIBCXX (and explain as needed).
1121
6dfe0fc9
PE
11222003-07-28 Phil Edwards <pme@gcc.gnu.org>
1123
1124 * README: Update.
1125
2cb1c928
PE
11262003-07-28 Phil Edwards <pme@gcc.gnu.org>
1127
1128 * testsuite/22_locale/messages/members/char/1.cc,
1129 testsuite/22_locale/messages/members/char/2.cc,
1130 testsuite/22_locale/messages/members/char/3.cc,
1131 testsuite/22_locale/messages_byname/1.cc: Update comment regarding
1132 the origin of LOCALEDIR.
1133 * testsuite/lib/libstdc++-v3.exp: New file.
1134
b66ea7d4
BK
11352003-07-25 Benjamin Kosnik <bkoz@redhat.com>
1136
1137 * include/bits/char_traits.h: Update copyright, tweak.
e884d397 1138 * testsuite/ext/pod_char_traits.cc: Explicitly qualify namespace
b66ea7d4
BK
1139 std types.
1140
d5ff4e3f
MA
11412003-07-24 Matt Austern <austern@apple.com>
1142
1143 * /include/bits/char_traits.h (class char_traits): Put all the
1144 real work into the new class template __gnu_cxx::char_traits.
1145 Gave generic definitions for member functions. Types are taken
1146 from the new class template __gnu_cxx::_Char_types.
1147 * testsuite/21_strings/char_traits/requirements/short/1.cc: New
1148 file. Test of std::char_traits<short>, which serves as a test of
1149 the char_traits primary template.
1150
aecf642c
BK
11512003-07-24 Benjamin Kosnik <bkoz@redhat.com>
1152
1153 * testsuite/*: Change __gnu_cxx_test to __gnu_test.
1154
11552003-07-24 Nathan Myers <ncm-nospam@cantrip.org>
d7541133 1156
7e2055ec
ZW
1157 * testsuite/23_containers/map_operators.cc: Conform to
1158 container requirement as value must be Assignable.
d7541133 1159
118545ec
AO
11602003-07-23 Alexandre Oliva <aoliva@redhat.com>
1161
1162 * acinclude.m4 (GLIBCXX_ENABLE_PCH): Rework test such that it
1163 tests not only generation of pch files, but also their use.
1164 * aclocal.m4, configure: Rebuilt.
1165
ff89cb01
SE
11662003-07-23 Steve Ellcey <sje@cup.hp.com>
1167
1168 * config/cpu/hppa/atomicity.h: Change
1169 _GLIBCXX_INST_GLIBCXX_ATOMICITY_LOCK to _GLIBCXX_INST_ATOMICITY_LOCK
1170 to match misc-inst.cc
1171
1143680e
SE
11722003-07-23 Steve Ellcey <sje@cup.hp.com>
1173
1174 * include/c_std/cmath.tcc: Use _GLIBCXX_ prefix on file guard.
1175 * include/c_std/std_cctype.h: Ditto.
1176 * include/c_std/std_cerrno.h: Ditto.
1177 * include/c_std/std_cfloat.h: Ditto.
1178 * include/c_std/std_climits.h: Ditto.
1179 * include/c_std/std_clocale.h: Ditto.
1180 * include/c_std/std_cmath.h: Ditto.
1181 * include/c_std/std_csetjmp.h: Ditto.
1182 * include/c_std/std_csignal.h: Ditto.
1183 * include/c_std/std_cstdarg.h: Ditto.
1184 * include/c_std/std_cstddef.h: Ditto.
1185 * include/c_std/std_cstdio.h: Ditto.
1186 * include/c_std/std_cstdlib.h: Ditto.
1187 * include/c_std/std_cstring.h: Ditto.
1188 * include/c_std/std_ctime.h: Ditto.
1189 * include/c_std/std_cwchar.h: Ditto.
1190 * include/c_std/std_cwctype.h: Ditto.
1191 * include/std/std_algorithm.h: Ditto.
1192 * include/std/std_bitset.h: Ditto.
1193 * include/std/std_complex.h: Ditto.
1194 * include/std/std_deque.h: Ditto.
1195 * include/std/std_fstream.h: Ditto.
1196 * include/std/std_functional.h: Ditto.
1197 * include/std/std_iomanip.h: Ditto.
1198 * include/std/std_ios.h: Ditto.
1199 * include/std/std_iosfwd.h: Ditto.
1200 * include/std/std_iostream.h: Ditto.
1201 * include/std/std_istream.h: Ditto.
1202 * include/std/std_iterator.h: Ditto.
1203 * include/std/std_limits.h: Ditto.
1204 * include/std/std_list.h: Ditto.
1205 * include/std/std_locale.h: Ditto.
1206 * include/std/std_map.h: Ditto.
1207 * include/std/std_memory.h: Ditto.
1208 * include/std/std_numeric.h: Ditto.
1209 * include/std/std_ostream.h: Ditto.
1210 * include/std/std_queue.h: Ditto.
1211 * include/std/std_set.h: Ditto.
1212 * include/std/std_sstream.h: Ditto.
1213 * include/std/std_stack.h: Ditto.
1214 * include/std/std_stdexcept.h: Ditto.
1215 * include/std/std_streambuf.h: Ditto.
1216 * include/std/std_string.h: Ditto.
1217 * include/std/std_utility.h: Ditto.
1218 * include/std/std_valarray.h: Ditto.
1219 * include/std/std_vector.h: Ditto.
1220
3988d179
DG
12212003-07-22 Doug Gregor <dgregor@apple.com>
1222
1223 * include/bits/basic_string.h (basic_string::insert): Deprecate
1224 GNU extension.
1225
5dfda042
BK
12262003-07-21 Benjamin Kosnik <bkoz@redhat.com>
1227
1228 * scripts/testsuite_flags.in (--build-includes): Remove extraneous
1229 paths for libio.
1230 * testsuite/27_io/basic_istream/sentry/char/3983-fstream.cc
1231 (test03): Include typeinfo for bad_cast.
1232 * testsuite/27_io/basic_ostream/sentry/char/3983-sstream.cc: Same.
1233 * testsuite/27_io/basic_ostream/sentry/char/3983-fstream.cc: Same.
1234 * testsuite/27_io/basic_istream/sentry/char/3983-sstream.cc: Same.
1235
3988d179 12362003-07-21 Doug Gregor <dgregor@apple.com>
f345c6b5
DG
1237
1238 * include/bits/boost_concept_check.h:
7e2055ec
ZW
1239 (_EqualityComparableConcept::__constraints): Remove != from the
1240 list of constraints; it is not listed in Table 28 of the C++98
1241 standard.
f345c6b5 1242
2d5f9af2
AJ
12432003-07-18 Andreas Jaeger <aj@suse.de>
1244
1245 * config/abi/sparc-linux-gnu/baseline_symbols.txt: New file.
1246 * config/abi/mips-linux-gnu/baseline_symbols.txt: New file.
1247 * config/abi/hppa-linux-gnu/baseline_symbols.txt: New file.
1248 * config/abi/x86_64-linux-gnu/baseline_symbols.txt: Regenerated.
1249
fea4065d 12502003-07-17 Benjamin Kosnik <bkoz@redhat.com>
7e2055ec 1251
fea4065d
BK
1252 * config/linker-map.gnu: Add __moneypunct_cache, __timepunct_cache.
1253 * config/locale/generic/messages_members.h: Tweaks.
1254 * config/locale/generic/monetary_members.cc
1255 (moneypunct::_M_initialize_moneypunct): Use cache.
1256 (moneypunct::~moneypunct): Delete cache.
1257 * config/locale/generic/time_members.cc:
1258 (__timepunct::_M_initialize_timepunct): Use cache.
1259 * config/locale/generic/time_members.h:
1260 (__timepunct::~__timepunct): Delete cache.
1261 (__timepunct::__timepunct): Set cache.
1262 * config/locale/gnu/messages_members.h: Tweaks.
1263 * config/locale/gnu/monetary_members.cc:
1264 (moneypunct::_M_initialize_moneypunct): Use cache.
1265 (moneypunct::~moneypunct): Delete cache.
1266 * config/locale/gnu/time_members.cc:
1267 (__timepunct::_M_initialize_timepunct): Use cache.
1268 * config/locale/gnu/time_members.h:
1269 (__timepunct::~__timepunct): Delete cache.
1270 (__timepunct::__timepunct): Set cache.
1271 * include/bits/locale_facets.h (__timepunct_cache): New.
1272 (__moneypunct_cache): New.
1273 * include/bits/locale_facets.tcc: Tweak.
1274 * src/locale.cc (__timepunct::_S_timezones): Adjust for cache.
1275 * src/locale-inst.cc: Instantiate caches.
1276 * src/globals.cc: Add "C" caches.
1277 * src/localename.cc: Use external "C" caches.
1278
83a279e4
PE
12792003-07-17 Phil Edwards <pme@gcc.gnu.org>
1280
1281 * docs/doxygen/guide.html: Fix typo.
1282
db5eed18
BK
12832003-07-16 Benjamin Kosnik <bkoz@redhat.com>
1284
1285 * include/ext/pod_char_traits.h: Add state template argument.
1286
7942afdc
BK
12872003-07-16 Benjamin Kosnik <bkoz@redhat.com>
1288
1289 * include/bits/locale_facets.h (__num_base::_S_atoms_in): Add -+xX.
1290 (num_get::_M_convert_int): To _M_insert_int.
7e2055ec 1291 (num_get::_M_convert_float): To _M_insert_float.
7942afdc
BK
1292 * include/bits/locale_facets.tcc (num_get::_M_extract_float):
1293 Use caches for ctype, num_get.
1294 (num_get::_M_extract_int): Same.
1295 (num_get::get(bool)): Same.
1296 (__verify_grouping): Use size_t.
1297 * src/locale-inst.cc: Update.
1298 * src/locale.cc: Adjust _S_atoms_in.
1299
1ef4a5d4
PE
13002003-07-16 Phil Edwards <pme@gcc.gnu.org>
1301
1302 * docs/doxygen/mainpage.html: Move building/writing instructions...
1303 * docs/doxygen/guide.html: ...to here. New file.
1304
dced0d12
JW
13052003-07-16 Jonathan Wakely <redi@gcc.gnu.org>
1306
1307 * docs/html/ext/howto.html: Update URL for SGI STL docs.
1308 * docs/html/faq/index.html: Same.
1309 * docs/html/faq/index.txt: Regenerate.
1310
e50344b9
PC
13112003-07-16 Paolo Carlini <pcarlini@unitus.it>
1312
1313 PR libstdc++/11528
1314 * include/bits/locale_facets.tcc (money_get::do_get):
1315 Strip only _leading_ zeros.
1316 * testsuite/22_locale/money_get/get/char/11528.cc: Add.
1317 * testsuite/22_locale/money_get/get/wchar_t/11528.cc: Add.
1318
94b7906a
GP
13192003-07-16 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
1320
1321 * include/ext/hash_map (class hash_multimap): Remove extra
1322 semicolons from __glibcxx_class_requires3 entries.
1323 * include/ext/hash_set (class hash_set): Ditto.
1324 (class hash_multiset): Ditto.
1325
73a530bd
PR
13262003-07-15 Petur Runolfsson <peturr02@ru.is>
1327
1328 * include/bits/char_traits.h (char_traits<wchar_t>::move):
1329 Change last parameter from int_type to size_t.
1330
119dbb1f
JQ
13312003-07-15 Jerry Quinn <jlquinn@optonline.net>
1332
1333 * include/bits/stl_algo.h (includes, set_union, set_intersection,
7e2055ec
ZW
1334 set_difference, set_symmetric_difference, max_element, min_element,
1335 next_permutation, prev_permutation, find_first_of, find_end):
1336 Document.
119dbb1f 1337 * include/bits/stl_algobase.h (copy,copy_backward): Clarify overlap
7e2055ec 1338 restrictions in docs.
119dbb1f 1339 * include/bits/stl_heap.h (push_heap, pop_heap, make_heap, sort_heap):
7e2055ec 1340 Document.
119dbb1f
JQ
1341 * docs/doxygen/doxygroups.cc (setoperations): New group.
1342
284f19bf
JQ
13432003-07-15 Jerry Quinn <jlquinn@optonline.net>
1344
7e2055ec 1345 * include/bits/basic_string.h: Document public functions.
284f19bf
JQ
1346 * docs/doxygen/TODO: Update c21 todo.
1347
709e7c9f
JQ
13482003-07-15 Jerry Quinn <jlquinn@optonline.net>
1349
1350 * include/bits/stl_list.h: Document more functions.
1351 * docs/doxygen/TODO: Update c23 todo.
1352
f45e487d
PC
13532003-07-14 Paolo Carlini <pcarlini@unitus.it>
1354
1355 * config/locale/gnu/c_locale.h (__convert_from_v): One more
1356 qualification.
1357
f088510d
PC
13582003-07-14 Paolo Carlini <pcarlini@unitus.it>
1359
1360 * include/bits/stl_tempbuf.h: Qualify free with std::.
1361 * src/locale.cc: Include <cstdlib>, qualify getenv.
1362
2def5b76
PC
13632003-07-14 Paolo Carlini <pcarlini@unitus.it>
1364
1365 * config/locale/gnu/c_locale.h (__convert_from_v): Include
1366 <cstdio>. Qualify names.
1367 * config/locale/generic/c_locale.h (__convert_from_v): Ditto.
1368
bda243ec
PC
13692003-07-14 Paolo Carlini <pcarlini@unitus.it>
1370 Nathan C. Myers <ncm-nospam@cantrip.org>
1371
1372 PR libstdc++/11378
1373 * include/std/std_fstream.h (xsputn): Declare only.
1374 * include/bits/fstream.tcc (xsputn): Define, optimize for the
7e2055ec 1375 always_noconv() case: when __n is sufficiently large flush
bda243ec
PC
1376 the buffer and issue a direct write, if possible combining the
1377 two with writev in __basic_file<>::xsputn_2.
1378 * config/io/basic_file_stdio.h (__basic_file<>::xsputn_2):
1379 New, declare.
1380 * config/io/basic_file_stdio.cc (__basic_file<>::xsputn_2):
1381 Define.
1382 * acinclude.m4 (GLIBCXX_CHECK_WRITE): New macro, checking for
1383 the availability of writev in <sys/uio.h>.
1384 * configure.in: Call here.
1385 * acconfig.h: Add undef for the corresponding symbol.
1386 * aclocal.m4: Regenerate.
1387 * configure: Regenerate.
1388 * config.h.in: Regenerate.
1389 * testsuite/27_io/basic_filebuf/setbuf/char/3.cc: Tweak.
1390
1391 * include/std/std_fstream.h (sync): Constify a variable.
1392
c573d965
BK
13932003-07-14 Benjamin Kosnik <bkoz@redhat.com>
1394
1395 * testsuite/27_io/ios_base/cons/assign_neg.cc: Fix line numbers.
1396 * testsuite/27_io/ios_base/cons/copy_neg.cc: Same.
7e2055ec 1397
3ad249b9
GDR
13982003-07-14 Gabriel Dos Reis <gcc@integrable-solutions.net>
1399
1400 * config/locale/gnu/c_locale.h (__convert_from_v): Include
1401 <cstring> and <cstdlib>. Qualify names.
1402
f2ffecb1
MM
14032003-07-13 Mark Mitchell <mark@codesourcery.com>
1404
1405 * config/locale/generic/c_locale.h: Include <cstdlib> and
1406 <cstring>.
1407 * include/bits/boost_concept_check.h: Add this-> to unqualified
1408 method calls.
1409 * include/bits/deque.tcc: Likewise.
1410 * include/bits/locale_facets.h : Likewise.
1411 * include/bits/ostream.tcc: Likewise.
1412 * include/bits/stl_algo.h: Likewise.
1413 * include/bits/stl_bvector.h: Likewise.
1414 * include/bits/stl_deque.h: Likewise.
1415 * include/bits/stl_list.h: Likewise.
1416 * include/bits/stl_tree.h: Likewise.
1417 * include/bits/stl_vector.h: Likewise.
1418 * include/bits/vector.tcc: Likewise.
1419 * include/ext/rope: Likewise.
1420 * include/ext/ropeimpl.h: Likewise.
1421 * include/ext/stdio_filebuf.h: Likewise.
1422
e2fcbaa3
JQ
14232003-07-11 Jerry Quinn <jlquinn@optonline.net>
1424
1425 * include/bits/basic_ios.h (copyfmt): Document.
1426 * include/bits/ios_base.h (event, event_callback, register_callback,
1427 xalloc, iword, pword): Document.
1428 (imbue, ~ios_base): Update docs on callbacks.
1429
58579a27
PE
14302003-07-11 Phil Edwards <pme@gcc.gnu.org>
1431
1432 * acinclude.m4 (GLIBCC_ENABLE_SYMVERS): Tweak comments. Add
1433 warning messages if the environment cannot support symbol versioning.
1434 (port_specific_symbol_file): It's plural, add an 's' on the end.
1435 * configure.host: Likewise.
1436 * src/Makefile.am: Likewise.
1437 * config/linker-map.gnu: Remove one semicolon, heh.
1438 * scripts/extract_symvers: Don't assume useful 'export' syntax.
1439 Set LANG as well as LC_ALL for possibly-broken sort(1)s.
1440 * aclocal.m4, configure, src/Makefile.in: Regenerated.
1441
cde63840
BK
14422003-07-09 Benjamin Kosnik <bkoz@redhat.com>
1443
1444 * include/bits/locale_facets.tcc: Use function object for
7e2055ec 1445 __use_cache instead of template function. Partially specialize for
cde63840
BK
1446 __numpunct<_CharT>.
1447 * include/bits/locale_classes.h: Update friend declaration for
1448 __use_cache.
1449 (_M_install_cache): No throw exception specs.
1450 * src/locale.cc: Remove __use_cache specializations.
1451 * include/ext/pod_char_traits.h (length): Tweak.
1452 * include/bits/locale_facets.h (__numpunct_cache): Remove
1453 char_type typedef.
1454 * testsuite/testsuite_hooks.h (pod_unsigned_int): Remove.
1455 (pod_long): Remove.
1456 * testsuite/22_locale/numpunct/members/char/cache_1.cc: New.
1457 * testsuite/22_locale/numpunct/members/char/cache_2.cc: New.
1458 * testsuite/22_locale/numpunct/members/wchar_t/cache_1.cc: New.
1459 * testsuite/22_locale/numpunct/members/wchar_t/cache_2.cc: New.
1460 * testsuite/22_locale/numpunct/members/pod/1.cc: New.
1461 * testsuite/22_locale/numpunct/members/pod/2.cc: New.
7e2055ec 1462
e7f042e4
JQ
14632003-07-09 Jerry Quinn <jlquinn@optonline.net>
1464
1465 * src/ios.cc (_M_grow_words): Fix spelling.
1466
ca1c7011
GB
14672003-07-09 Gawain Bolton <gp.bolton@computer.org>
1468
1469 * include/bits/stl_tree.h: Move larger member functions in
1470 _Rb_tree_base_iterator and _Rb_tree_node to...
1471 * src/stl_tree.cc: Here.
1472 * src/Makefile.in: Add stl_tree.cc.
1473 * src/Makefile.in: Regenerated.
1474 * config/linker-map.gnu: Add symbols here.
1475
9e7facfd
BK
14762003-07-08 Benjamin Kosnik <bkoz@redhat.com>
1477
1478 * testsuite/ext/pod_char_traits.cc: New.
1479 * include/ext/pod_char_traits.h: New.
1480 * include/Makefile.am (ext_headers): Add pod_char_traits.h.
1481 * include/Makefile.in: Regenerate.
1482 * docs/html/21_strings/howto.html: Update.
7e2055ec 1483
e55dc371
GB
14842003-07-08 Gawain Bolton <gp.bolton@computer.org>
1485
1486 * testsuite/performance/list_create_fill_sort.cc: New.
1487
c094e9b9
BK
14882003-07-08 Benjamin Kosnik <bkoz@redhat.com>
1489
1490 * config/locale/generic/numeric_members.cc: Correct type info.
1491 * config/locale/gnu/numeric_members.cc: Same.
1492 * include/bits/locale_facets.h: Same.
7e2055ec 1493
c094e9b9
BK
1494 * include/bits/char_traits.h: Correct spacing.
1495
1496 * src/locale.cc: Wrap to 80 col.
7e2055ec 1497
a8784c4c
PC
14982003-07-07 Paolo Carlini <pcarlini@unitus.it>
1499
1500 * include/std/std_complex.h: Partially revert last
1501 changes: cmath functions must not be qualified.
1502
313dd504
PE
15032003-07-06 Phil Edwards <pme@gcc.gnu.org>
1504
1505 * acinclude.m4 (GLIBCXX_ENABLE_SYMVERS): Do not test for binutils
1506 2.11 with globbing backport fix.
1507 * aclocal.m4, configure: Regenerated.
1508
6623b2f2
PC
15092003-07-06 Paolo Carlini <pcarlini@unitus.it>
1510
1511 * include/std/std_fstream.h (xsputn): Don't call _M_destroy_pback:
1512 if output is at all possible (!_M_reading), cannot be active.
1513
1514 * include/std/std_fstream.h: Tweak comments to doxygen style.
1515
391cfc46
PC
15162003-07-06 Paolo Carlini <pcarlini@unitus.it>
1517
1518 * include/bits/locale_classes.h: Fully qualify standard
1519 functions with std::, thus avoiding Koenig lookup.
1520 * include/bits/locale_facets.tcc: Likewise.
1521 * src/locale.cc: Likewise.
1522 * src/localename.cc: Likewise.
1523
48166869
PE
15242003-07-06 Phil Edwards <pme@gcc.gnu.org>
1525
1526 * include/bits/allocator_traits.h: Fix doxygen markup.
1527 * include/ext/mt_allocator.h: Likewise.
1528
aaa4a229
PE
15292003-07-06 Phil Edwards <pme@gcc.gnu.org>
1530
1531 * testsuite/testsuite_hooks.h: Guard against a missing unlink().
1532
e6b7a69a
PE
15332003-07-05 Phil Edwards <pme@gcc.gnu.org>
1534
1535 * acinclude.m4 (GLIBCXX_ENABLE_SYMVERS): Bump minimal version
1536 requirement. Add port_specific_symbol_file variable.
1537 * configure.host: Add docs for port_specific_symbol_file.
1538 Clean up try_cpu block for x86.
1539 * config/linker-map.gnu: No more "last symbol can't have a
1540 semicolon" kaka. Add hook for port-specific symbols.
1541 * src/Makefile.am: Remove trailing whitespace.
1542 (libstdc++-symbol.ver): Detect the presence of port-specific
1543 symbols, and add them accordingly.
1544
1545 * docs/html/17_intro/porting.texi: Bring up to date.
1546
1547 * src/Makefile.in, aclocal.m4, configure,
1548 docs/html/17_intro/porting.html: Regenerated.
1549
ac3d7b44
PE
15502003-07-05 Phil Edwards <pme@gcc.gnu.org>
1551
1552 * scripts/create_testsuite_files: New file.
1553 * testsuite/Makefile.am (all-local, check-performance): Use it.
1554 * testsuite/lib/libstdc++-v3-dg.exp (v3-computer-tests): Remove.
1555 * testsuite/Makefile.in: Regenerated.
1556
1557 * testsuite/performance/filebuf_sputc.cc: Remove the temporary
1558 files at the end.
1559 * testsuite/performance/fstream_seek_write.cc: Likewise.
1560 * testsuite/performance/ofstream_insert_float.cc: Likewise.
1561 * testsuite/performance/ofstream_insert_int.cc: Likewise.
1562 * testsuite/abi_check.cc (main): Nicer spacing in usage output.
1563
e3d51be2
GB
15642003-07-05 Gawain Bolton <gp.bolton@computer.org>
1565
1566 * include/bits/stl_list.h: Performance and memory usage
c094e9b9
BK
1567 improvements. In particular, the behaviour of the constructor and
1568 destructor as the list header node is no longer dynamically
1569 allocated/de-allocated.
e3d51be2
GB
1570 * include/bits/list.tcc: Likewise.
1571
eb9a4231
PC
15722003-07-05 Paolo Carlini <pcarlini@unitus.it>
1573
1574 * include/std/std_complex.h: Fully qualify standard
1575 functions with std::, thus avoiding Koenig lookup.
1576 * include/std/std_memory.h: Likewise.
1577 * include/std/std_valarray.h: Likewise.
1578
f92c5313
GB
15792003-07-05 Gawain Bolton <gp.bolton@computer.org>
1580
1581 * include/bits/stl_tree.h: _Rb_tree_rebalance(): Add local
7e2055ec 1582 variable for grandparent and use const
f92c5313 1583
8b87d3fa
DB
15842003-07-05 David Billinghurst <David.Billinghurst@riotinto.com>
1585
1586 * testsuite/27_io/basic_filebuf/close/char/4879.cc: xfail on cygwin
1587 * testsuite/27_io/basic_filebuf/close/char/9964.cc: Ditto
1588 * testsuite/27_io/basic_filebuf/open/char/9507.cc: Ditto
1589 * testsuite/27_io/basic_filebuf/showmanyc/char/9533-1.cc: Ditto
1590 * testsuite/27_io/basic_filebuf/underflow/char/10097.cc: Ditto
1591 * testsuite/27_io/objects/char/7.cc: Ditto
1592 * testsuite/27_io/objects/char/9661-1.cc: Ditto
1593
a8cad3e1
PC
15942003-07-05 Paolo Carlini <pcarlini@unitus.it>
1595
1596 * include/std/std_bitset.h: Fully qualify standard
1597 functions with std::, thus avoiding Koenig lookup.
1598
1599 * include/std/std_fstream.h: Change comment to doxygen style.
1600
2778669a
PE
16012003-07-05 Phil Edwards <pme@gcc.gnu.org>
1602
1603 * include/std/std_limits.h: More CPP->CXX changes.
1604 * scripts/check_survey.in: Likewise.
1605
3d7c150e
BK
16062003-07-04 Benjamin Kosnik <bkoz@redhat.com>
1607
1608 Move from CPP to CXX.
1609 * include/bits/c++config: Move to GLIBCXX from GLIBCPP.
1610 * testsuite/Makefile.am: Same.
1611 * testsuite/Makefile.in: Regenerate.
1612 * po/Makefile.am: Same.
7e2055ec 1613 * po/Makefile.in: Regenerate.
3d7c150e 1614 * libsupc++/Makefile.am: Same.
7e2055ec 1615 * libsupc++/Makefile.in: Regenerate.
3d7c150e 1616 * libmath/Makefile.am: Same.
7e2055ec 1617 * libmath/Makefile.in: Regenerate.
3d7c150e 1618 * include/Makefile.am: Same.
7e2055ec 1619 * include/Makefile.in: Regenerate.
3d7c150e 1620 * src/Makefile.am: Same.
7e2055ec 1621 * src/Makefile.in: Regenerate.
3d7c150e
BK
1622 * acconfig.h: Same.
1623 * configure.host: Same.
1624 * configure.in: Same.
1625 * configure: Regenerate.
1626 * acinclude.m4: Same.
1627 * aclocal.m4: Same.
1628 * src: Change all files in this directory.
1629 * testsuite: Same.
1630 * include: Same, standardize include guards.
1631 * config: Same.
1632 * libsupc++: Same.
7e2055ec 1633
e6cc3a24
ZW
16342003-07-04 Zack Weinberg <zack@codesourcery.com>
1635
1636 * testsuite/22_locale/collate/compare/wchar_t/2.cc
1637 * testsuite/22_locale/collate/compare/wchar_t/wrapped_env.cc
1638 * testsuite/22_locale/collate/compare/wchar_t/wrapped_locale.cc
1639 * testsuite/22_locale/collate/hash/wchar_t/2.cc
1640 * testsuite/22_locale/collate/hash/wchar_t/wrapped_env.cc
1641 * testsuite/22_locale/collate/hash/wchar_t/wrapped_locale.cc
1642 * testsuite/22_locale/collate/transform/wchar_t/2.cc
1643 * testsuite/22_locale/collate/transform/wchar_t/wrapped_env.cc
1644 * testsuite/22_locale/collate/transform/wchar_t/wrapped_locale.cc:
1645 XFAIL on all targets.
1646
d542f114
BK
16472003-07-04 Benjamin Kosnik <bkoz@redhat.com>
1648
1649 * acinclude.m4 (GLIBCPP_ENABLE_PCH): Fix missed variable.
1650 * aclocal.m4: Regenerate.
1651 * configure: Regenerate.
e6cc3a24 1652
d542f114
BK
16532003-07-04 Jerry Quinn <jlquinn@optonline.net>
1654
1655 * include/bits/locale_facets.tcc (__int_to_char): Move common case
1656 to the top.
1657
69ef29fd 16582003-07-04 Benjamin Kosnik <bkoz@redhat.com>
e6cc3a24
ZW
1659 Petur Runolfsson <peturr02@ru.is>
1660
69ef29fd
BK
1661 * config/io/basic_file_stdio.cc: Revert.
1662
5b5bf717
PC
16632003-07-04 Paolo Carlini <pcarlini@unitus.it>
1664
1665 * include/bits/deque.tcc: Fully qualify standard
1666 functions with std::, thus avoiding Koenig lookup.
1667 * include/bits/gslice_array.h: Likewise.
1668 * include/bits/indirect_array.h: Likewise.
1669 * include/bits/list.tcc: Likewise.
1670 * include/bits/mask_array.h: Likewise.
1671 * include/bits/slice_array.h: Likewise.
1672
7f6dd1ca
GB
16732003-07-04 Gawain Bolton <gbolton@free.fr>
1674
1675 * include/bits/stl_tree.h: Performance and memory usage
1676 improvements.
1677
8c90b13a
L
16782003-07-04 H.J. Lu <hongjiu.lu@intel.com>
1679
1680 * Makefile.am: Replace PWD with PWD_COMMAND.
1681 * Makefile.in: Regenerated.
1682 * docs/html/Makefile: Likewise.
1683
2f805868
PC
16842003-07-04 Paolo Carlini <pcarlini@unitus.it>
1685
1686 * include/bits/valarray_array.h: Fully qualify standard
1687 functions with std::, thus avoiding Koenig lookup.
1688 * include/bits/vector.tcc: Likewise.
1689
a30335e9
BK
16902003-07-04 Benjamin Kosnik <bkoz@redhat.com>
1691
1692 * include/Makefile.am: Update target_ to host_.
1693 * include/Makefile.in: Regenerate.
1694 * src/Makefile.am: Same.
1695 * src/Makefile.in: Regenerate.
1696
1697 * config/os/gnu-linux/os_defines.h: Remove glibc-2.0 support.
e6cc3a24 1698
d8d81f62
BK
16992003-07-04 Benjamin Kosnik <bkoz@redhat.com>
1700
1701 * acinclude.m4 (GLIBCPP_ENABLE_DEBUG_FLAGS): To
1702 --enable-libstdcxx-debug-flags.
1703 (GLIBCPP_ENABLE_DEBUG_FLAGS): To --enable-libstdcxx-debug.
1704 (GLIBCPP_ENABLE_PCH): To --enable-libstdcxx-pch.
1705 * aclocal.m4: Regenerate.
1706 * configure: Same.
1707 * docs/html/configopts.html: Update.
e6cc3a24 1708
10ef4e2e
PC
17092003-07-04 Paolo Carlini <pcarlini@unitus.it>
1710
1711 Revert the fix for libstdc++/11378.
1712
ac2c48d7
PC
17132003-07-04 Paolo Carlini <pcarlini@unitus.it>
1714
1715 PR libstdc++/11378
1716 * include/std/std_fstream.h (xsputn): In the unbuffered case,
1717 provided always_noconv(), issue directly _M_file.xsputn.
1718 * testsuite/performance/filebuf_unbuf_sputn.cc: New.
1719
9dd90ac6
PC
17202003-07-04 Paolo Carlini <pcarlini@unitus.it>
1721
1722 * include/bits/stl_list.h: Fully qualify standard
1723 functions with std::, thus avoiding Koenig lookup.
1724 * include/bits/stl_queue.h: Likewise.
1725 * include/bits/stl_raw_storage_iter.h: Likewise.
1726 * include/bits/stl_tempbuf.h: Likewise.
1727 * include/bits/stl_tree.h: Likewise.
1728 * include/bits/stl_uninitialized.h: Likewise.
1729 * include/bits/stl_vector.h: Likewise.
e6cc3a24 1730 * include/ext/rope: Change includes order.
9dd90ac6 1731
1b33b6b2
BK
17322003-07-04 Benjamin Kosnik <bkoz@redhat.com>
1733
1734 * configure.host (fpos_include_dir): Fix.
1735
369b78b0
PC
17362003-07-04 Paolo Carlini <pcarlini@unitus.it>
1737
1738 * include/bits/stl_heap.h: Fully qualify standard
1739 functions with std::, thus avoiding Koenig lookup.
1740 * include/bits/stl_iterator_base_funcs.h: Likewise.
1741
1742 * include/bits/stl_algo.h: Qualify __iterator_category too.
1743 * include/bits/stl_algobase.h: Likewise.
1744 * include/bits/stl_bvector.h: Likewise.
1745
1746 * include/bits/stl_algo.h: Don't qualify the pair type.
1747
cc5112c9
BK
17482003-07-03 Benjamin Kosnik <bkoz@redhat.com>
1749
1750 * include/Makefile.am (target_headers): Add fpos.h
1751 (bits_headers): Remove.
1752 * include/Makefile.in: Regenerate.
1753 * configure.in: Add FPOS_INC_SRCDIR, substitute it.
1754 * configure: Regenerate.
1755 * configure.host: Add fpos_include_dir.
1756 * config/os/gnu-linux/fpos.h: New.
e6cc3a24
ZW
1757 * config/os/generic/fpos.h: Add.
1758 * include/bits/fpos.h: Remove.
cc5112c9
BK
1759
1760 * config/io/c_io_stdio.h: Remove fpos_t typedef.
1761
1762 * include/bits/fstream.tcc: Tweaks.
1763 * include/std/std_fstream.h: Same.
e6cc3a24 1764
cc5112c9
BK
1765 * testsuite/27_io/fpos/1.cc (test01): Uncomment. Move to...
1766 * testsuite/27_io/fpos/mbstate_t/1.cc: ...here.
1767 * testsuite/27_io/fpos/mbstate_t/2.cc: Same.
1768 * testsuite/27_io/fpos/mbstate_t/3.cc: Same.
1769 * testsuite/27_io/fpos/1.cc: New.
e6cc3a24 1770
cc5112c9
BK
17712003-07-03 Benjamin Kosnik <bkoz@redhat.com>
1772 Petur Runolfsson <peturr02@ru.is>
e6cc3a24 1773
cc5112c9
BK
1774 * include/std/std_streambuf.h: Remove _M_pos.
1775 * config/io/basic_file_stdio.h: Use seekpos instead of seekoff.
1776 * config/io/basic_file_stdio.cc: Same, use fseek instead of lseek,
1777 use fread/fwrite instead of read/write.
1778 * testsuite/27_io/basic_filebuf/showmanyc/char/9533-2.cc: Fix.
1779 * testsuite/27_io/basic_filebuf/sputn/char/9339.cc: Close filebufs
1780 before reading again.
1781 * testsuite/27_io/objects/char/6.cc: Tweak.
e6cc3a24 1782
304d79dc
DE
17832003-07-03 David Edelsohn <edelsohn@gnu.org>
1784
1785 * testsuite/22_locale/num_put/put/char/7.cc: Guard with
1786 _GLIBCPP_USE_WCHAR_T.
1787
41ba4c46
PC
17882003-07-02 Paolo Carlini <pcarlini@unitus.it>
1789
1790 * include/bits/basic_string.tcc (_M_replace_aux): Constify
1791 __n1 and __off1.
1792
da73f9de
PC
17932003-07-02 Paolo Carlini <pcarlini@unitus.it>
1794
1795 * include/bits/stl_bvector.h: Fully qualify standard
1796 functions with std::, thus avoiding Koenig lookup.
1797 * include/bits/stl_construct.h: Likewise.
1798 * include/bits/stl_deque.h: Likewise.
1799
1c380095
PC
18002003-07-02 Paolo Carlini <pcarlini@unitus.it>
1801
1802 * testsuite/22_locale/num_put/put/char/7.cc: Include
1803 <testsuite_hooks.h>, tweak.
1804 * testsuite/22_locale/num_put/put/wchar_t/7.cc: Likewise.
1805
f9f4d1e1
PE
18062003-07-01 Phil Edwards <pme@gcc.gnu.org>
1807
1808 * testsuite/Makefile.am (AM_MAKEFLAGS): Set to -j1 (affects
1809 check* targets, but not libs/programs).
1810 * testsuite/Makefile.in: Regenerate.
1811
b7693a46
RS
18122003-07-01 Roger Sayle <roger@eyesopen.com>
1813
1814 * acinclude.m4 (GLIBCPP_CHECK_STDLIB_SUPPORT): Fix typo in CXXFLAGS.
1815 (GLIBCPP_CHECK_MATH_SUPPORT): Likewise.
1816 * aclocal.m4: Regenerate.
1817 * configure: Regenerate.
1818
a5b1b26c
BK
18192003-07-01 Benjamin Kosnik <bkoz@redhat.com>
1820
1821 * acinclude.m4 (GLIBCPP_ENABLE_PCH): Fix obvious error.
1822 * aclocal.m4: Regenerated.
1823 * configure: Regenerated.
e6cc3a24 1824
f64f3e74
PC
18252003-07-01 Paolo Carlini <pcarlini@unitus.it>
1826
1827 PR libstdc++/11389
1828 * include/bits/fstream.tcc (underflow): For encoding() == 0
1829 don't read more than __buflen chars.
1830 * testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-1.cc: New.
1831 * testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-2.cc: New.
1832 * testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-3.cc: New.
1833 * testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-4.cc: New.
1834
5ee78c21
JQ
18352003-07-01 Jerry Quinn <jlquinn@optonline.net>
1836
1837 * 22_locale/num_put/put/char/7.cc: New.
1838 * 22_locale/num_put/put/wchar_t/7.cc: New.
1839
e97ee22e
JQ
18402003-06-30 Jerry Quinn <jlquinn@optonline.net>
1841
1842 * src/locale.cc (__use_cache<numpunct>): Revert previous relocation.
1843 * include/bits/locale_facets.tcc (__use_cache<numpunct>): Ditto.
1844
7d6a0993
BK
18452003-06-30 Benjamin Kosnik <bkoz@redhat.com>
1846
1847 * 27_io/basic_filebuf/seekoff/char/1-in.cc: New.
1848 * 27_io/basic_filebuf/seekoff/char/1-io.cc: New.
1849 * 27_io/basic_filebuf/seekoff/char/1-out.cc: New.
1850 * 27_io/basic_filebuf/seekoff/char/2-in.cc: New.
1851 * 27_io/basic_filebuf/seekoff/char/2-io.cc: New.
1852 * 27_io/basic_filebuf/seekoff/char/2-out.cc: New.
1853 * 27_io/basic_filebuf/seekoff/char/2.cc: Remove.
1854 * 27_io/basic_filebuf/seekoff/char/3-in.cc: New.
1855 * 27_io/basic_filebuf/seekoff/char/3-io.cc: Change.
1856 * 27_io/basic_filebuf/seekoff/char/3-out.cc: New.
1857 * 27_io/basic_filebuf/seekoff/char/4-io.cc: Remove.
1858 * 27_io/basic_filebuf/seekpos/char/1-in.cc: New.
1859 * 27_io/basic_filebuf/seekpos/char/1-io.cc: New.
1860 * 27_io/basic_filebuf/seekpos/char/1-out.cc: New.
1861 * 27_io/basic_filebuf/seekpos/char/2-in.cc: New.
1862 * 27_io/basic_filebuf/seekpos/char/2-io.cc: New.
1863 * 27_io/basic_filebuf/seekpos/char/2-out.cc: New.
1864 * 27_io/basic_filebuf/seekpos/char/2.cc: Change.
1865 * 27_io/basic_filebuf/seekpos/char/3-in.cc: New.
1866 * 27_io/basic_filebuf/seekpos/char/3-io.cc: Remove.
1867 * 27_io/basic_filebuf/seekpos/char/3-out.cc: New.
1868 * 27_io/basic_filebuf/seekpos/char/4-io.cc: Remove.
1869 * data/seekoff-1.tst: Remove.
1870 * data/seekoff-1io.tst: New.
1871 * data/seekoff-1out.tst: New.
1872 * data/seekoff-2.tst: Remove.
1873 * data/seekoff-2io.tst: New.
1874 * data/seekoff-2out.tst: New.
1875 * data/seekoff.txt
1876 * data/seekpos-1.tst: Remove.
1877 * data/seekpos-1io.tst: New.
1878 * data/seekpos-1out.tst: New.
1879 * data/seekpos-2.tst: Remove.
1880 * data/seekpos-2io.tst: New.
1881 * data/seekpos-2out.tst: New.
1882 * data/seekpos.txt: New.
1883
a5b1b26c 18842003-06-30 Jerry Quinn <jlquinn@optonline.net>
cf0cad09
JQ
1885
1886 * src/locale.cc (__use_cache<numpunct>): Move from here ...
1887 * include/bits/locale_facets.tcc (__use_cache<numpunct>): To
1888 here.
1889
884a757a
PC
18902003-06-30 Paolo Carlini <pcarlini@unitus.it>
1891
1892 * include/bits/stl_algobase.h: Fully qualify standard
1893 functions with std::, thus avoiding Koenig lookup.
1894
5892c641 18952003-06-30 Doug Gregor <dgregor@apple.com>
e6cc3a24 1896
5892c641 1897 * include/bits/locale_facets.tcc (money_get::do_get): Avoid
e6cc3a24 1898 subscripting empty string.
5892c641 1899
7685a26d
PE
19002003-06-30 Phil Edwards <pme@gcc.gnu.org>
1901
1902 * testsuite/Makefile.am (check-am): Do not override.
1903 (baseline_symbols): Declare as PHONY, so no need to 'touch' it.
1904 * testsuite/Makefile.in: Regenerate.
1905
e6cc3a24
ZW
19062003-06-30 Doug Gregor <dgregor@apple.com>
1907
d147b75b
DG
1908 * testsuite/24_iterators/insert_iterator.cc (test01, test02):
1909 Don't initialize an insert_iterator with a singular iterator.
1910
44f0760e 19112003-06-30 Benjamin Kosnik <bkoz@redhat.com>
e6cc3a24 1912
44f0760e
BK
1913 * acinclude.m4 (GLIBCPP_ENABLE_PCH): Add bits for --enable-pch.
1914 * aclocal.m4: Regenerate.
1915 * configure.in (GLIBCPP_CHECK_PCH): Move, change to
1916 GLIBCPP_ENABLE_PCH, default to yes.
1917 * configure: Regenerate.
1918 * docs/html/configopts.html: Add --enable-pch.
e6cc3a24 1919
e37f7da7
PE
19202003-06-30 Phil Edwards <pme@gcc.gnu.org>
1921
1922 * testsuite/lib/libstdc++-v3-dg.exp: Add comments.
1923 (libstdc++-v3-init): Also set LD_RUN_PATH.
1924
cd16e04b
PC
19252003-06-30 Paolo Carlini <pcarlini@unitus.it>
1926
fbfcbadc
PC
1927 * include/std/std_streambuf.h (_M_mode): Unused by streambuf, move
1928 from here to filebuf and stringbuf.
cd16e04b
PC
1929 (~basic_streambuf()): Don't set _M_mode.
1930 (basic_streambuf()): Don't set _M_mode.
1931 * include/std/std_fstream.h (_M_mode): Move here, from streambuf.
1932 (~basic_filebuf()): Clean up.
1933 * include/bits/fstream.tcc (basic_filebuf()): Set _M_mode.
1934 * include/std/std_sstream.h (_M_mode): Move here, from streambuf.
1935 * testsuite/27_io/basic_streambuf/cons/char/1.cc: Don't set _M_mode.
1936 * testsuite/27_io/basic_streambuf/overflow/char/1.cc: Likewise.
1937 * testsuite/27_io/basic_streambuf/sgetc/char/1.cc: Likewise.
1938 * testsuite/27_io/basic_streambuf/sgetn/char/1.cc: Likewise.
1939 * testsuite/27_io/basic_streambuf/sputn/char/1.cc: Likewise.
1940
19412003-06-30 Paolo Carlini <pcarlini@unitus.it>
1942
1943 * include/std/std_fstream.h (_M_underflow): Remove.
1944 (uflow): Remove, inherited from streambuf.
1945 (underflow): Only declare.
e6cc3a24 1946 * include/bits/fstream.tcc (_M_underflow): Rename to
cd16e04b
PC
1947 underflow, to which is equivalent for __bump == false,
1948 simplify.
1949 * include/std/std_sstream.h (_M_underflow): Remove.
1950 (uflow): Remove, inherited from streambuf.
1951 (underflow): Only declare.
e6cc3a24 1952 * include/bits/sstream.tcc (_M_underflow): Rename to
cd16e04b
PC
1953 underflow, to which is equivalent for __bump == false,
1954 simplify.
1955
c868f37e
PC
19562003-06-29 Paolo Carlini <pcarlini@unitus.it>
1957
fbfcbadc
PC
1958 * include/bits/stl_algo.h: Fully qualify standard functions
1959 with std::, thus avoiding Koenig lookup.
c868f37e 1960
165f54e0
PC
19612003-06-29 Paolo Carlini <pcarlini@unitus.it>
1962
1963 * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-1.cc:
1964 Improve type correctness-wise.
1965 * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-2.cc:
1966 Likewise.
1967 * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-3.cc:
1968 Likewise.
1969 * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-4.cc:
1970 Likewise.
1971
90319d16
PC
19722003-06-29 Paolo Carlini <pcarlini@unitus.it>
1973
1974 * include/std/std_streambuf.h (uflow): According to
1975 27.5.2.4.3,p16, don't check gptr() < egptr().
1976
b417ae14
PC
19772003-06-28 Paolo Carlini <pcarlini@unitus.it>
1978
1979 PR libstdc++/9875
1980 * include/bits/fstream.tcc (seekoff): Fix for encoding() > 0.
1981 (seekpos): Likewise.
1982 * testsuite/27_io/basic_filebuf/seekoff/wchar_t/9875_seekoff.cc:
1983 New test.
1984 * testsuite/27_io/basic_filebuf/seekpos/wchar_t/9875_seekpos.cc:
1985 New test.
1986
f1a22109
BK
19872003-06-27 Benjamin Kosnik <bkoz@redhat.com>
1988
1989 * testsuite/testsuite_performance.h (__gnu_cxx_test): Change
1990 output name to libstdc++-v3-performance.sum.
1991 * testsuite/Makefile.am (CLEANFILES): Remove .performance.
1992 * testsuite/Makefile.in: Regenerate.
e6cc3a24 1993
f1a22109
BK
19942003-06-27 Matthias Klose <doko@debian.org>
1995
1996 * testsuite/Makefile.am (check-abi, check-abi-verbose): Save
1997 output of abi-check in libstdc++-v3-abi.sum.
1998 * testsuite/Makefile.in: Regenerate.
1999
2e8a523f
KW
20002003-06-27 Krister Walfridsson <cato@df.lth.se>
2001
2002 * config/os/bsd/netbsd/ctype_noninline.h
2003 (_C_ctype_): Declare.
2004 (ctype<char>::classic_table): Return _C_ctype_ + 1.
2005 (ctype<char>::ctype): Use classic_table.
2006
3461133d
PC
20072003-06-27 Paolo Carlini <pcarlini@unitus.it>
2008 Nathan C. Myers <ncm-nospam@cantrip.org>
2009
2010 PR libstdc++/9178
2011 * include/bits/fstream.tcc (_M_underflow): Properly estimate
2012 the worst-case number of external bytes for a given get area.
2013 * testsuite/27_io/basic_filebuf/underflow/wchar_t/9178.cc: New.
2014
20152003-06-27 Paolo Carlini <pcarlini@unitus.it>
2016 Petur Runolfsson <peturr02@ru.is>
2017
2018 PR libstdc++/11305
2019 * include/bits/fstream.tcc (overflow): Properly estimate the
2020 worst-case number of external bytes for a given put area
2021 (by using codecvt::max_length()).
2022 * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-1: New.
2023 * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-2: New.
2024 * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-3: New.
2025 * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-4: New.
2026
5648db54
NS
20272003-06-27 Nathan Sidwell <nathan@codesourcery.com>
2028
2029 * config/linker-map.gnu: Remove ; after __numpunct_cache.
2030
215f9e28
BK
20312003-06-26 Benjamin Kosnik <bkoz@redhat.com>
2032
2033 * include/bits/ios_base.h (ios_base::_M_getloc): Return reference
2034 to the imbued locale.
2035 * include/bits/locale_facets.tcc (num_put::_M_convert_int): Use
2036 _M_getloc.
2037 (num_put::_M_convert_float): Use.
2038
20392003-06-26 Benjamin Kosnik <bkoz@redhat.com>
2040 Jerry Quinn <jlquinn@optonline.net>
2041
2042 * config/linker-map.gnu: Add __numpunct_cache.
2043 * config/locale/gnu/numeric_members.cc
2044 (numpunct::_M_initialize_numpunct): Account for _M_data, fill in
2045 all elements for "C" locale.
2046 (numpunct::~numpunct): Delete _M_data.
e6cc3a24 2047 * config/locale/generic/numeric_members.cc: Same.
215f9e28
BK
2048 * include/bits/basic_ios.tcc
2049 (basic_ios::init): Remove __locale_cache bits.
2050 (basic_ios::_M_cache_locale): Same.
e6cc3a24 2051 * include/bits/ios_base.h: Same. Tweaks.
215f9e28
BK
2052 * include/bits/locale_classes.h: Tweaks. Reorder classes.
2053 (__use_cache): Make friends with _Impl, locale.
2054 (_Impl::_M_caches): Add.
2055 (_Impl::_M_install_cache): Add.
2056 * include/bits/locale_facets.h (__numpunct_cache): New.
2057 (numpunct): Encapsulate data members in __numpunct_cache member,
2058 _M_data. Adjust virtuals.
e6cc3a24 2059 (numpunct::numpunct): New ctor for the same.
215f9e28 2060 (__locale_cache_base): Remove.
e6cc3a24 2061 (__locale_cache): Remove.
215f9e28
BK
2062 * include/bits/locale_facets.tcc (__use_cache): New function,
2063 specializations.
2064 (num_put::_M_convert_int, _M_convert_float, do_put): Use it.
2065 * src/globals.cc: Add cache_vec, numpunct_cache_c, numpunct_cache_w.
2066 * src/ios.cc (ios_base::ios_base): Remove __locale_cache.
2067 * src/locale-inst.cc: Same. Add __numpunct_cache.
2068 * src/locale.cc: Tweak inlines.
2069 (__use_cache): Define specializations.
2070 * src/localename.cc: Use global bits.
2071 (_Impl::~Impl): Deal with __numpunct_cache destruction.
2072 (_Impl::_Impl): Same. Pre-cache standard numpunct facets.
2073 (_Impl::_M_init_facet): Take into account __numpunct_cache.
2074 * testsuite/27_io/ios_base/cons/assign_neg.cc: Update line numbers.
2075 * testsuite/27_io/ios_base/cons/copy_neg.cc: Same.
2076
8370378a 20772003-06-26 Nathan C. Myers <ncm-nospam@cantrip.org>
e6cc3a24 2078 Paolo Carlini <pcarlini@unitus.it>
8370378a
NM
2079
2080 * testsuite/performance/filebuf_copy.cc: New, testing char
2081 by char file copy.
2082
2cfe4e68 20832003-06-26 Paolo Carlini <pcarlini@unitus.it>
e6cc3a24 2084 Nathan C. Myers <ncm-nospam@cantrip.org>
2cfe4e68
PC
2085
2086 * include/bits/fstream.tcc (_M_underflow): When the actual
2087 end of file is reached, set 'uncommitted' mode to allow a
2088 next write without an intervening seek (see C++98 27.8.1.1,2
2089 and C89 7.9.5.3).
2090 * testsuite/27_io/basic_filebuf/underflow/char/2.cc: New.
2091
29d9ed97
NM
20922003-06-25 Nathan C. Myers <ncm-nospam@cantrip.org>
2093
2094 * include/bits/streambuf.tcc (sbumpc, sputbackc, sungetc,
2095 sputc): Move inline, from here...
2096 * include/std/std_streambuf.h: ... to here.
2097
2098 * include/std/std_streambuf.h (snextc, sbumpc, sgetc,
2099 sputbackc, sungetc, sputc): Use __builtin_expect.
2100
c1a62440
PE
21012003-06-24 Phil Edwards <pme@gcc.gnu.org>
2102
2103 * docs/doxygen/mainpage.html: Use a useful title.
2104
cdc1242a
BK
21052003-06-24 Benjamin Kosnik <bkoz@redhat.com>
2106
2107 * docs/html/documentation.html: Remove assignment info.
2108 * docs/html/17_intro/contribute.html: Edits.
2109 * docs/html/17_intro/libstdc++-assign.tx: Remove.
2110
2111 * docs/html/test.html: Update.
2112
2113 * README: Update.
e6cc3a24 2114
1b6f0a56 21152003-06-24 Benjamin Kosnik <bkoz@redhat.com>
e6cc3a24 2116 Ulrich Drepper <drepper@redhat.com>
1b6f0a56
BK
2117
2118 * testsuite/testsuite_performance.h: Tweak mallinfo.
2119
71b46021 21202003-06-24 Paolo Carlini <pcarlini@unitus.it>
e6cc3a24 2121 Nathan C. Myers <ncm-nospam@cantrip.org>
71b46021
PC
2122
2123 * include/std/std_fstream.h (_M_filepos): Remove.
2124 (_M_reading, _M_writing): New, encode the various I/O modes:
2125 'read', 'write' and 'uncommitted'.
2126 (sync): If there is something to flush, do it, then go to
2127 'uncommitted' mode.
2128 * include/bits/fstream.tcc (_M_set_buffer): Overhaul to deal
2129 with three different cases: __off > 0 (upon underflow),
2130 __off == 0 (upon overflow), __off == -1 (upon open, setbuf,
2131 seekoff/pos).
2132 (_M_underflow): Don't call overflow, set _M_reading to true
2133 on success, tweak.
2134 (pbackfail): Set _M_reading to true on pback creation, tweak.
2135 (overflow): Don't seek, deal with overflow in 'uncommitted' mode,
2136 set _M_writing to true on success, tweak.
2137 (seekoff): Simplify, set _M_reading, _M_writing to false, call
2138 _M_set_buffer(-1) ('uncommitted').
2139 (open, close, setbuf): Set _M_reading, _M_writing to false and
2140 call _M_set_buffer(-1), tweak.
2141 (basic_filebuf): Don't set _M_buf_unified.
2142 (_M_destroy_internal_buffer): Don't call setg and setp.
2143 * include/ext/stdio_filebuf.h (stdio_filebuf): Use _M_reading,
2144 _M_writing and _M_set_buffer(-1).
2145 * include/std/std_streambuf.h (_M_move_out_cur, _M_move_in_cur,
2146 _M_out_lim, _M_buf_unified): Remove.
2147 (basic_streambuf): Don't set _M_out_lim and _M_buf_unified.
e6cc3a24 2148 (setp): Don't set _M_out_lim.
71b46021
PC
2149 * testsuite/27_io/basic_filebuf/sbumpc/char/1-io.cc: Fix for
2150 the new logic ('read', 'write' and 'uncommitted' modes): e.g.,
2151 upon open the mode is 'uncommitted' and therefore the put area
2152 pointers are null.
2153 * testsuite/27_io/basic_filebuf/sbumpc/char/1-out.cc: Ditto.
2154 * testsuite/27_io/basic_filebuf/seekoff/char/3-io.cc: Ditto.
2155 * testsuite/27_io/basic_filebuf/seekpos/char/3-io.cc: Ditto.
2156 * testsuite/27_io/basic_filebuf/setbuf/char/1.cc: Ditto.
2157 * testsuite/27_io/basic_filebuf/sgetc/char/1-io.cc: Ditto.
2158 * testsuite/27_io/basic_filebuf/sgetc/char/1-out.cc: Ditto.
2159 * testsuite/27_io/basic_filebuf/sgetn/char/1-io.cc: Ditto.
2160 * testsuite/27_io/basic_filebuf/sgetn/char/1-out.cc: Ditto.
2161 * testsuite/27_io/basic_filebuf/snextc/char/1-io.cc: Ditto.
2162 * testsuite/27_io/basic_filebuf/snextc/char/1-out.cc: Ditto.
2163 * testsuite/27_io/basic_filebuf/sputbackc/char/1-io.cc: Ditto.
2164 * testsuite/27_io/basic_filebuf/sputbackc/char/1-out.cc: Ditto.
2165 * testsuite/27_io/basic_filebuf/sputc/char/1-io.cc: Ditto.
2166 * testsuite/27_io/basic_filebuf/sputc/char/1-out.cc: Ditto.
2167 * testsuite/27_io/basic_filebuf/sputc/char/9701-2.cc: Ditto.
2168 * testsuite/27_io/basic_filebuf/sputn/char/1-io.cc: Ditto.
2169 * testsuite/27_io/basic_filebuf/sputn/char/1-out.cc: Ditto.
2170 * testsuite/27_io/basic_filebuf/sputn/char/9701-1.cc: Ditto.
2171 * testsuite/27_io/basic_filebuf/sungetc/char/1-io.cc: Ditto.
2172 * testsuite/27_io/basic_filebuf/sungetc/char/1-out.cc: Ditto.
2173
2174 * include/bits/fstream.tcc (showmanyc): Use only the
2175 documented derivation interface to basic_streambuf (gptr(),
2176 setg(), etc.) to work right with user specializations.
2177 * include/bits/streambuf.tcc (sbumpc, sputbackc, sungetc,
2178 sputc, xsgetn, xsputn, __copy_streambufs): Likewise.
2179 * include/std/std_streambuf.h (in_avail, sgetc, uflow, stossc):
2180 Likewise.
2181 * include/std/std_fstream.h (_M_create_pback, _M_destroy_pback,
2182 xsgetn): Likewise.
2183
9eb6e1d3
LR
21842003-06-23 Loren J. Rittle <ljrittle@acm.org>
2185
2186 * configure.host (freebsd*): Set abi_baseline_pair.
2187 * config/abi/i386-freebsd4/baseline_symbols.txt: Update from 3.2
2188 (at or near first release) to 3.3.
2189 * config/abi/i386-freebsd5/baseline_symbols.txt: New file.
2190 * config/abi/alpha-freebsd5/baseline_symbols.txt: New file.
2191 * config/abi/sparc-freebsd5/baseline_symbols.txt: New file.
2192
3d57d7ba 2193 * include/ext/mt_allocator.h: Portability.
d1a2c4d6 2194 * testsuite/testsuite_performance.h: Likewise.
3d57d7ba 2195
c89c30dd
BK
21962003-06-23 Benjamin Kosnik <bkoz@redhat.com>
2197
2198 * docs/html/17_intro/libstdc++-assign.txt: Update address.
2199
2200 * testsuite/performance/ifstream_getline.cc: Fix.
e6cc3a24 2201
c89c30dd 22022003-06-23 Doug Gregor <dgregor@apple.com>
2b491e3a 2203
e6cc3a24
ZW
2204 * include/bits/boost_concept_check.h: Don't use _D or _R for type
2205 names.
2b491e3a 2206
1b170b55
PC
22072003-06-22 Paolo Carlini <pcarlini@unitus.it>
2208 Nathan C. Myers <ncm-nospam@cantrip.org>
2209
2210 * include/std/std_streambuf.h (_M_move_out_cur): _M_out_lim
2211 is now used only for filebuf, when _M_buf_unified is true.
2212 epgtr() plays the role of _M_out_lim but it's only updated
2213 upon overflow, underflow, uflow, seekoff/pos.
2214 * include/bits/sstream.tcc (_M_underflow): New, implements
2215 stringbuf::underflow and uflow.
2216 (seekoff, seekpos): Tweak, use _M_update_egptr.
2217 * include/std/std_sstream.h (str): Rewrote, deal correctly
2218 with the new logic, in particular, when pptr() > egptr().
2219 (_M_sync): When __testout && !__testin set all the get area
2220 pointers to the current string end.
2221 (_M_update_egptr): New, internal function updating egptr()
2222 to the actual string end.
2223 (_M_underflow): New, declare.
2224 (underflow): Dispatch to _M_underflow(false).
2225 (uflow): Dispatch to _M_underflow(true).
2226
2227 * include/bits/sstream.tcc (pbackfail, overflow, seekoff,
2228 seekpos): Use only the documented derivation interface to
2229 basic_streambuf (gptr(), setg(), etc.) to work right with
2230 user specializations.
2231 * include/std/std_sstream.h (str, _M_sync): Likewise.
2232
8dbe14be
DG
22332003-06-20 Doug Gregor <dgregor@apple.com>
2234
1b170b55
PC
2235 * testsuite/20_util/auto_ptr.cc: Don't dereference NULL auto_ptr
2236 * testsuite/21_strings/basic_string/replace/char/4.cc: Don't
2237 dereference end iterator.
2238 * testsuite/21_strings/basic_string/replace/wchar_t/4.cc: Same.
2239 * testsuite/22_locale/ctype/narrow/char/1.cc: Don't subscript with
2240 index equal to the length of a string.
2241 * testsuite/22_locale/ctype/narrow/char/2.cc: Same.
2242 * testsuite/22_locale/ctype/narrow/wchar_t/1.cc: Same.
2243 * testsuite/22_locale/ctype/narrow/wchar_t/2.cc: Same.
2244 * testsuite/22_locale/ctype/widen/char/1.cc: Same.
2245 * testsuite/22_locale/ctype/widen/wchar_t/1.cc: Same.
2246 * testsuite/23_containers/list_modifiers.cc: Don't dereference
2247 singular reverse iterator.
2248 * testsuite/23_containers/vector_bool.cc: Don't increment singular
2249 iterator.
2250 * testsuite/24_iterators/rel_ops.cc: Don't compare singular iterator.
8dbe14be 2251
bdb0f0f5
DG
22522003-06-20 Doug Gregor <dgregor@apple.com>
2253
e6cc3a24 2254 * include/bits/basic_string.h (basic_string::replace): Dispatch
bdb0f0f5
DG
2255 _InputIterator version based on _Is_integer.
2256 * include/bits/basic_string.tcc (basic_string::replace):
2257 Renamed replace(iterator, iterator, size_type, _CharT) to
2258 _M_replace_aux.
2259 * testsuite/21_strings/basic_string/assign/char/1.cc (test01):
2260 Test basic_string::assign(_InputIterator, _InputIterator),
2261 which calls basic_string::replace(iterator, iterator,
2262 _Input_iterator, _InputIterator).
2263
f5a6463e
BK
22642003-06-20 Benjamin Kosnik <bkoz@redhat.com>
2265
2266 * testsuite/testsuite_performance.h (resource_counter): Don't use
2267 mallinfo at the moment.
2268
bbdfb3e8
MK
22692003-06-20 Matthias Klose <doko@debian.org>
2270
2271 * configure.host: Set try_cpu to target_cpu for existing
2272 baseline files.
2273
97460e9a
AJ
22742003-06-19 Andreas Jaeger <aj@suse.de>
2275
2276 * testsuite/Makefile.am (extract_symvers): Revert accidental
2277 change.
2278 * testsuite/Makefile.in: Regenerate.
2279
2280 * configure.in: Pass MULTISUBDIR to testsuite/Makefile.
2281 * configure: Regenerated.
2282
50af15ec
PC
22832003-06-19 Paolo Carlini <pcarlini@unitus.it>
2284
2285 * include/std/std_sstream.h (_M_sync): Make non virtual.
2286
ce4f8c6b
BK
22872003-06-18 Benjamin Kosnik <bkoz@redhat.com>
2288
2289 * testsuite/testsuite_performance.h (time_counter): New.
2290 (resource_counter): New.
2291 (report_performance): New.
2292 (start_counters): New.
2293 (stop_counters): New.
97460e9a 2294 (clear_counters): New.
ce4f8c6b
BK
2295 * testsuite/performance/allocator.cc: Instrument.
2296 * testsuite/performance/cout_insert_int.cc: Same.
2297 * testsuite/performance/complex_norm.cc: Same.
2298 * testsuite/performance/filebuf_sputc.cc: New.
2299 * testsuite/performance/fstream_seek_write.cc: Same.
2300 * testsuite/performance/ifstream_getline.cc: Same.
2301 * testsuite/performance/map_create_fill.cc: Same.
2302 * testsuite/performance/ofstream_insert_float.cc: Same.
2303 * testsuite/performance/ofstream_insert_int.cc: Same.
97460e9a 2304 * testsuite/performance/string_append.cc: Convert.
ce4f8c6b
BK
2305 * scripts/check_performance: New.
2306 * testsuite/Makefile.am (check-performance): New.
2307 (CLEANFILES): Add.
97460e9a 2308
b82a33d2 23092003-06-18 Paolo Carlini <pcarlini@unitus.it>
e6cc3a24 2310 Benjamin Kosnik <bkoz@redhat.com>
b82a33d2
PC
2311
2312 * include/std/std_sstream.h (setbuf): Check __n >= 0.
2313 * include/bits/fstream.tcc (setbuf): Tweak.
2314
4c526d09
PC
23152003-06-18 Paolo Carlini <pcarlini@unitus.it>
2316
2317 * include/bits/sstream.tcc (seekoff): We can't seek beyond
2318 _M_out_lim, therefore _M_move_out_cur boils down to simply
2319 updating _M_out_cur.
2320 (seekpos): Likewise, clean up.
2321
c1b74c21 23222003-06-18 Nathan C. Myers <ncm-nospam@cantrip.org>
e6cc3a24 2323 Paolo Carlini <pcarlini@unitus.it>
c1b74c21
NM
2324
2325 * include/bits/fstream.tcc (setbuf): Allow (__s, 1) too,
2326 simply equivalent to the unbuffered case (0, 0) as far as
2327 _M_buf_size is concerned.
2328
a1af4623
AJ
23292003-06-18 Andreas Jaeger <aj@suse.de>
2330
2331 * testsuite/Makefile.am (new-abi-baseline): Create baseline
2332 directory.
2333 (baseline_file): Use baseline_dir.
2334 (baseline_dir): New.
2335 (mkinstalldirs): New.
2336
2337 * acinclude.m4: Rename baseline_file to baseline_dir, strip
2338 filename from baseline_dir.
2339
2340 * testsuite/Makefile.in: Regenerated.
2341 * Makefile.in: Regenerated.
2342 * aclocal.m4: Regenerated.
2343 * configure: Regenerated.
2344
2f934953
BK
23452003-06-17 Benjamin Kosnik <bkoz@redhat.com>
2346
2347 * configure.in: Missed check_survey bit.
2348 * configure: Regenerated.
2349
0676e930
BK
23502003-06-17 Benjamin Kosnik <bkoz@redhat.com>
2351
2352 * scripts: New.
2353 * config/abi/extract_symvers: Move to...
2354 * scripts/extract_symvers: ...here.
2355 * mkcheck.in: Move to..
2356 * scripts/check_survey.in: ...here.
2357 * testsuite_flags.in: Move to..
2358 * scripts/testsuite_flags.in: ...here.
2359 * configure.in: Change check and testsuite_flags locations.
2360 * configure: Regenerate.
2361 * testsuite/Makefile.am (current_symbols.txt): Change location.
2362 * testsuite/Makefile.in: Regenerate.
2363 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Modify
2364 location of testsuite_flags.
2365 * Makefile.am (check-script): Move..
2366 (check-script-install): Move...
a1af4623 2367 * testsuite/Makefile.am: ... here.
0676e930 2368 * testsuite/Makefile.in: Regenerate.
a1af4623
AJ
2369 * Makefile.in: Regenerate.
2370
82620aaf
BK
23712003-06-17 Benjamin Kosnik <bkoz@redhat.com>
2372
2373 * config/abi/i486-linux-gnu/baseline_symbols.txt: Update to 3.3.0.
2374
c4c064e7
BK
23752003-06-16 Benjamin Kosnik <bkoz@redhat.com>
2376
2377 * Makefile.am (check-abi): Move...
2378 (new-abi-baseline): Move...
2379 * testsuite/Makefile.am: ...here.
2380 (new-abi-baseline): Conditionalize.
2381 (check-abi): Conditionalize.
2382 (check-abi-verbose): New.
2383 * Makefile.in: Regenerate.
a1af4623 2384 * testsuite/Makefile.in: Regenerate.
c4c064e7
BK
2385 * configure.in: Consolidate testsuite configure bits.
2386 * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Same.
2387 * configure: Regenerate.
a1af4623 2388 * aclocal.m4: Regenerate.
c4c064e7
BK
2389 * testsuite/abi_check.cc: Add --check-verbose.
2390 Only output detailed information if --check-verbose.
2391
e7bb3511 23922003-06-16 Andreas Jaeger <aj@suse.de>
a1af4623 2393
e6cc3a24 2394 * testsuite/abi_check.cc: Create summary report.
a1af4623 2395
8363b773
PC
23962003-06-16 Paolo Carlini <pcarlini@unitus.it>
2397
2398 * testsuite/27_io/basic_filebuf/sgetn/char/1-in.cc: Fix
2399 for systems with BUFSIZ != 8192.
2400 * testsuite/27_io/basic_filebuf/sgetn/char/1-io.cc: Ditto.
2401 * testsuite/27_io/basic_filebuf/sgetn/char/1-out.cc:
2402 Minor tweaks.
2403
5ab481e0
BK
24042003-06-16 Andreas Jaeger <aj@suse.de>
2405
2406 * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Make
2407 check-abi multilib aware.
2408 * aclocal.m4: Regenerate.
2409 * configure: Regenerate.
a1af4623 2410
5ab481e0 24112003-06-16 Benjamin Kosnik <bkoz@redhat.com>
e6cc3a24 2412 Andreas Jaeger <aj@suse.de>
5ab481e0
BK
2413
2414 * configure.host: Set x86_64 abi_baseline pair correctly.
2415
0bad3b7c
PC
24162003-06-16 Paolo Carlini <pcarlini@unitus.it>
2417
2418 * testsuite/27_io/basic_filebuf/sungetc/char/1.cc: Split and
e6cc3a24 2419 fix for missing seeks between gets and puts into...
0bad3b7c
PC
2420 * testsuite/27_io/basic_filebuf/sungetc/char/1-in.cc: New.
2421 * testsuite/27_io/basic_filebuf/sungetc/char/1-io.cc: New.
2422 * testsuite/27_io/basic_filebuf/sungetc/char/1-out.cc: New.
2423 * testsuite/27_io/basic_filebuf/sungetc/char/2-in.cc: New.
2424 * testsuite/27_io/basic_filebuf/sungetc/char/2-io.cc: New.
2425 * testsuite/27_io/basic_filebuf/sungetc/char/2-out.cc: New.
a1af4623 2426
dc4add82
RH
24272003-06-15 Richard Henderson <rth@redhat.com>
2428
2429 * config/linker-map.gnu: Export virtual function thunks for
2430 64-bit systems too.
2431
ef16a298
BK
24322003-06-13 Benjamin Kosnik <bkoz@redhat.com>
2433
2434 * config/abi/i686-pc-linux-gnu: To..
2435 * config/abi/i486-linux-gnu: ...this.
2436 * config/abi/alphaev67-unknown-linux-gnu: To..
2437 * config/abi/alpha-linux-gnu: ...this.
2438 * config/abi/ia64-unknown-linux-gnu: To...
2439 * config/abi/ia64-linux-gnu: ...this.
2440 * config/abi/x86_64-unknown-linux-gnu: To...
2441 * config/abi/x86_64-linux-gnu: ...this.
2442 * config/abi/i386-unknown-freebsd4: To...
2443 * config/abi/i386-freebsd4: ...this.
5ab481e0
BK
2444 * config/linker-map.gnu: Cleanups, move libsupc++ bits into
2445 CXXABI.
ef16a298
BK
2446 * configure.host: abi_baseline_triplet to abi_baseline_pair.
2447 Simplify cpu bits so that abi_baseline_pair can use the same
2448 cpu configuration.
2449 * acinclude.m4: Same.
2450 * aclocal.m4: Regenerate.
2451 * configure.in: Can't get enable_abi_check to yes unless native.
2452 * configure: Regenerate.
2453
ed242935
PC
24542003-06-13 Paolo Carlini <pcarlini@unitus.it>
2455
2456 * testsuite/27_io/basic_filebuf/seekoff/char/1.cc: Split and
2457 fix for missing seeks between gets and puts into...
2458 * testsuite/27_io/basic_filebuf/seekoff/char/3-io.cc: New.
2459 * testsuite/27_io/basic_filebuf/seekoff/char/4-io.cc: New.
2460 * testsuite/27_io/basic_filebuf/seekpos/char/1.cc: Same, into...
2461 * testsuite/27_io/basic_filebuf/seekpos/char/3-io.cc: New.
2462 * testsuite/27_io/basic_filebuf/seekpos/char/4-io.cc: New.
2463 * testsuite/27_io/basic_filebuf/sputbackc/char/1-io.cc: Fix
2464 for missing seeks between gets and puts.
2465 * testsuite/27_io/basic_filebuf/sputbackc/char/2-io.cc: Ditto.
2466 * testsuite/data/seekoff-1.tst: New.
2467 * testsuite/data/seekoff-2.tst: New.
2468 * testsuite/data/seekpos-1.tst: New.
2469 * testsuite/data/seekpos-2.tst: New.
2470
ca566e4c
NM
24712003-06-13 Nathan C. Myers <ncm-nospam@cantrip.org>
2472
2473 Avoid multi-processor bus contention on increment/decrement-and-
a1af4623 2474 test of the reference count in the empty-string object, by comparing
e6cc3a24
ZW
2475 addresses first, and never touching the reference count of the empty-
2476 string object.
ca566e4c
NM
2477 * include/bits/basic_string.h:
2478 (_S_empty_rep_storage): Move into basic_string<>::_Rep for use by its
2479 members.
a1af4623 2480 (_Rep::_S_empty_rep()): New accessor.
ca566e4c
NM
2481 (_Rep::_M_length, _Rep::_M_capacity, _Rep::_M_references): Move to
2482 a base class _Rep_base.
2483 (_Rep::_M_dispose, _Rep::_M_refcopy): Check for the empty string.
2484 (basic_string()): Change to use _M_refdata() in place of _M_refcopy(),
2485 since no longer must increment its refcount.
2486 * include/bits/basic_string.tcc:
a1af4623 2487 (_Rep::_M_destroy, _M_leak_hard): Check for the empty string and
e6cc3a24
ZW
2488 return immediately. The former might be unnecessary. The latter
2489 prevents begin() and end() from cloning it unnecessarily.
ca566e4c
NM
2490 (_S_construct(_InIterator, _InIterator, const _Alloc&,
2491 input_iterator_tag), _S_construct(_InIterator, _InIterator,
2492 const _Alloc&, forward_iterator_tag), _S_construct(size_type, _CharT,
2493 const _Alloc&)): Change to use _M_refdata() in place of _M_refcopy().
2494 (_M_mutate): Check for the empty string and treat it as shared.
e6cc3a24
ZW
2495 This is necessary here because _M_mutate is sometimes called with
2496 all-zero arguments; in all other uses of _M_is_shared, the test comes
2497 out right anyhow.
a1af4623 2498
c37514ff
BK
24992003-06-12 Benjamin Kosnik <bkoz@redhat.com>
2500
2501 * src/allocator-inst.cc: Explicitly instantiate.
2502 * include/ext/pool_allocator.h: Inhibit implicit instantiations.
2503 Tweaks.
2504 * config/linker-map.gnu: Add __pool_alloc bits. Tweaks.
a1af4623 2505
58ac1d7f
BK
25062003-06-11 Benjamin Kosnik <bkoz@redhat.com>
2507
2508 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Simplify.
2509 * aclocal.m4: Regenerate.
2510 * Makefile.am (SUBDIRS): Remove libio.
2511 * Makefile.in: Regenerate.
2512 * configure.in: Same.
2513 * configure: Regenerate.
2514 * config/io/basic_file_libio.cc: Remove.
a1af4623 2515 * config/io/basic_file_libio.h: Remove.
58ac1d7f 2516 * config/io/c_io_libio_codecvt.c: Remove.
a1af4623 2517 * config/io/c_io_libio.h: Remove.
58ac1d7f
BK
2518 * libio/*: Remove.
2519 * src/Makefile.am: Same.
2520 * src/Makefile.in: Regenerate.
a1af4623 2521 * docs/html/configopts.html: Edits.
58ac1d7f 2522 * docs/html/explanations.html: Edits.
a1af4623 2523
1ff9402d
BK
25242003-06-11 Benjamin Kosnik <bkoz@redhat.com>
2525
2526 * include/bits/stl_alloc.h (__debug_alloc): Move out.
2527 (__malloc_alloc): Same.
2528 (__pool_alloc): Same.
2529 (__new_alloc): Same.
2530 Rename to..
2531 * include/bits/allocator.h: ...this.
2532 * include/bits/stl_deque.h: Modify comment.
2533 * include/bits/stl_tree.h: Modify include.
2534 * include/std/std_memory.h: Same.
2535 * include/ext/rope: Same.
a1af4623 2536 * include/ext/slist: Same.
1ff9402d
BK
2537 * include/std/std_vector.h: Same.
2538 * include/std/std_stack.h: Same.
2539 * include/std/std_queue.h: Same.
2540 * include/std/std_list.h: Same.
2541 * include/std/std_deque.h: Same.
2542 * include/backward/alloc.h: Same.
2543 * include/ext/debug_allocator.h: New.
a1af4623
AJ
2544 * include/ext/malloc_allocator.h: New.
2545 * include/ext/pool_allocator.h: New.
1ff9402d
BK
2546 * include/ext/new_allocator.h: New.
2547 * include/bits/pthread_allocimpl.h: Remove.
a1af4623 2548 * include/bits/stl_pthread_alloc.h: Remove.
1ff9402d
BK
2549 * include/Makefile.am (ext_headers): Add.
2550 * include/Makefile.in: Regenerate.
2551 * src/stl-inst.cc: Use __gnu_cxx namespace.
2552 * src/stl-inst.cc: Move to...
2553 * src/allocator-inst.cc: Here.
2554 * src/Makefile.am (sources): Update.
2555 * src/Makefile.in: Regenerate.
2556 * config/linker-map.gnu: Remove __pool_alloc bits.
2557 * testsuite/ext/headers.cc: Add.
2558 * testsuite/ext/allocators.cc: Fixup.
a1af4623 2559
1ff9402d 25602003-06-11 Stefan Olsson <stefan@snon.net>
e6cc3a24 2561