]> gcc.gnu.org Git - gcc.git/blame - libstdc++-v3/ChangeLog
sh.c (calc_live_regs): If the return address pointer is live, force pr live.
[gcc.git] / libstdc++-v3 / ChangeLog
CommitLineData
4e9ebd4b
BI
12003-08-07 Bernardo Innocenti <bernie@develer.com>
2
3 PR libstdc++/11784
4 * libstdc++-v3/config/cpu/m68k/atomicity.h (__exchange_and_add):
5 Replace variants with new BSET-based version.
6
a9ebaa2b
CW
72003-08-07 Carlo Wood <carlo@alinoe.com>
8
9 * include/bits/demangle.h: Do not use cctype functions that depend
10 on locale.
11
8b171e55
PE
122003-08-05 Phil Edwards <pme@gcc.gnu.org>
13
14 * configure.in: Rename...
15 * configure.ac: ...to this.
16 * docs/html/17_intro/porting.texi: Update name.
17
18 * docs/html/17_intro/porting.html: Regenerate.
19 * config.h.in, Makefile.in, include/Makefile.in, libmath/Makefile.in,
20 libsupc++/Makefile.in, po/Makefile.in, src/Makefile.in,
21 testsuite/Makefile.in: Regenerate (picks up new dependancy).
22
1260d70f
PE
232003-08-05 Phil Edwards <pme@gcc.gnu.org>
24
25 * acinclude.m4 (GLIBCXX_ENABLE_SJLJ_EXCEPTIONS): Put down the crack
26 pipe, open the window to let out the fumes, redo the option-handling
27 logic to properly execute the detection test.
28 * aclocal.m4, configure: Regenerate.
29
ff66d28f
PE
302003-08-04 Phil Edwards <pme@gcc.gnu.org>
31
32 Convert to new autotools.
33 * acconfig.h: Update with correct names.
34 * configure.host (ATOMICITYH): Rename to atomicity_include_dir.
35 (qnx6.[12]*): 'q' comes before 's', not after 'w'.
36 * configure.in: Update. Split hardcoded cross-configury settings
37 out to...
38 * crossconfig.m4: ...here. New file. Contents untouched.
39 * acinclude.m4: Reorganize and rewrite as needed. Split large
40 chunks out to...
41 * linkage.m4: ...here. New file. Math and stdlib linkage tests.
42 Contents untouched.
43 * scripts/testsuite_flags.in: Update.
44
45 * Makefile.am: Remove unneeded AUTOMAKE_OPTIONS settings and other
46 variables (already generated by automake).
47 * include/Makefile.am: Ditto.
48 * libmath/Makefile.am: Ditto.
49 * libsupc++/Makefile.am: Ditto.
50 * po/Makefile.am: Ditto.
51 * src/Makefile.am: Ditto.
52
53 * aclocal.m4: Regenerate using new versions.
54 * config.h.in: Ditto.
55 * configure: Ditto.
56 * Makefile.in: Ditto.
57 * include/Makefile.in: Ditto.
58 * libmath/Makefile.in: Ditto.
59 * libsupc++/Makefile.in: Ditto.
60 * po/Makefile.in: Ditto.
61 * src/Makefile.in: Ditto.
62 * testsuite/Makefile.in: Ditto.
63
5e7c251d
PE
642003-08-04 Phil Edwards <pme@gcc.gnu.org>
65
66 * po/libstdc++.pot: Re-extract/regenerate.
67
caf21254
PE
682003-08-04 Phil Edwards <pme@gcc.gnu.org>
69
70 * testsuite/Makefile.am (DEJATOOL,EXPECT,RUNTEST,RUNTESTFLAGS):
71 Remove unneeded variable assignments. Leave them for automake.
72 * testsuite/lib/libstdc++-v3.exp: Rename...
73 * testsuite/lib/libstdc++.exp: ...to this. Adjust function names
74 accordingly.
75 * testsuite/libstdc++-v3.dg/dg.exp: Rename...
76 * testsuite/libstdc++-dg/normal.exp: ...to this. Adjust function
77 names accordingly.
78
f7ab5fa4
PE
792003-08-04 Phil Edwards <pme@gcc.gnu.org>
80
81 * docs/doxygen/guide.html: run_doxygen uses bash.
82 * docs/doxygen/mainpage.html: We'll be shipping tag files.
83 * docs/doxygen/run_doxygen: Tweaks and improvements.
84 * docs/doxygen/user.cfg.in: Set GENERATE_TAGFILE.
85 * docs/html/install.html: Update autoconf/automake requirements.
86 * docs/html/test.html: Add section describing DejaGNU support.
87 * docs/html/17_intro/confdeps.dot: New file, generates...
88 * docs/html/17_intro/confdeps.png: ...this new file.
89 * docs/html/Makefile: Generated here.
90 * docs/html/17_intro/configury.html: New file.
91
b3f2a032
PE
922003-07-31 Phil Edwards <pme@gcc.gnu.org>
93
94 * testsuite/lib/libstdc++-v3-dg.exp: Rename...
95 * testsuite/lib/libstdc++-v3.exp: ...to this.
96 * testsuite/libstdc++-v3.dg/dg.exp: No special case needed now.
97
e64a227a
DG
982003-07-31 Doug Gregor <dgregor@apple.com>
99
100 Add user specialization tests.
101 * testsuite/23_containers/deque/1.cc: New.
102 * testsuite/23_containers/list/1.cc: New.
103 * testsuite/23_containers/map/1.cc: New.
104 * testsuite/23_containers/multimap/1.cc: New.
105 * testsuite/23_containers/multiset/1.cc: New.
106 * testsuite/23_containers/set/1.cc: New.
107 * testsuite/23_containers/vector/1.cc: New.
108
17472bb6
BK
1092003-07-31 Benjamin Kosnik <bkoz@redhat.com>
110
111 Reshuffle 23_containers testsuite.
112 * 23_containers/adaptors.cc, bitset_ctor.cc,bitset_members.cc,
113 bitset_shift.cc, deque_ctor.cc, deque_operators.cc,
114 list_capacity.cc, list_ctor.cc, list_modifiers.cc, list_operators.cc,
115 map_insert.cc, map_operators.cc, map_operators_neg.cc, multiset.cc,
116 set_operators_neg.cc, vector_bool.cc, vector_capacity.cc,
117 vector_ctor.cc, vector_element_access.cc, vector_modifiers.cc,
118 vector_resize.cc: Split into...
119 * 23_containers/bitset/cons/1.cc: New.
120 * 23_containers/bitset/cons/6282.cc: New.
121 * 23_containers/bitset/count/6124.cc: New.
122 * 23_containers/bitset/operations/1.cc: New.
123 * 23_containers/bitset/operations/2.cc: New.
124 * 23_containers/bitset/test/1.cc: New.
125 * 23_containers/bitset/to_ulong/1.cc: New.
126 * 23_containers/deque/cons/1.cc: New.
127 * 23_containers/deque/cons/2.cc: New.
128 * 23_containers/deque/operators/1.cc: New.
129 * 23_containers/list/capacity/1.cc: New.
130 * 23_containers/list/cons/1.cc: New.
131 * 23_containers/list/cons/2.cc: New.
132 * 23_containers/list/cons/3.cc: New.
133 * 23_containers/list/cons/4.cc: New.
134 * 23_containers/list/cons/5.cc: New.
135 * 23_containers/list/cons/6.cc: New.
136 * 23_containers/list/cons/7.cc: New.
137 * 23_containers/list/cons/8.cc: New.
138 * 23_containers/list/cons/9.cc: New.
139 * 23_containers/list/modifiers/1.cc: New.
140 * 23_containers/list/modifiers/2.cc: New.
141 * 23_containers/list/modifiers/3.cc: New.
142 * 23_containers/list/operators/1.cc: New.
143 * 23_containers/list/operators/2.cc: New.
144 * 23_containers/list/operators/3.cc: New.
145 * 23_containers/list/operators/4.cc: New.
146 * 23_containers/map/insert/1.cc: New.
147 * 23_containers/map/operators/1.cc: New.
148 * 23_containers/map/operators/1_neg.cc: New.
149 * 23_containers/multiset/insert/1.cc: New.
150 * 23_containers/priority_queue/members/7161.cc: New.
151 * 23_containers/queue/members/7157.cc: New.
152 * 23_containers/set/operators/1_neg.cc: New.
153 * 23_containers/stack/members/7158.cc: New.
154 * 23_containers/vector/bool/1.cc: New.
155 * 23_containers/vector/bool/6886.cc: New.
156 * 23_containers/vector/capacity/1.cc: New.
157 * 23_containers/vector/capacity/2.cc: New.
158 * 23_containers/vector/capacity/8230.cc: New.
159 * 23_containers/vector/cons/1.cc: New.
160 * 23_containers/vector/cons/2.cc: New.
161 * 23_containers/vector/cons/3.cc: New.
162 * 23_containers/vector/cons/4.cc: New.
163 * 23_containers/vector/cons/6513.cc: New.
164 * 23_containers/vector/element_access/1.cc: New.
165 * 23_containers/vector/modifiers/1.cc: New.
166 * 23_containers/vector/modifiers/2.cc: New.
167 * 23_containers/vector/resize/1.cc: New.
168
515aab7c
RO
1692003-07-31 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
170
171 * testsuite/thread/pthread1.cc: Add alpha*-*-osf* to dg-do run,
172 dg-options.
173 * testsuite/thread/pthread2.cc: Likewise.
174 * testsuite/thread/pthread3.cc: Likewise.
175 * testsuite/thread/pthread4.cc: Likewise.
176 * testsuite/thread/pthread5.cc: Likewise.
177 * testsuite/thread/pthread6.cc: Likewise.
178 * testsuite/thread/pthread7-rope.cc: Likewise.
179
1051c718
PE
1802003-07-30 Phil Edwards <pme@gcc.gnu.org>
181
182 * include/bits/c++config: Partial reversion (comment placement) of
183 previous patch.
184
5f697f7a
BK
1852003-07-30 Benjamin Kosnik <bkoz@redhat.com>
186
187 * include/bits/c++config (_GLIBCXX_FULLY_COMPLIANT_HEADERS): Remove.
188 (_GLIBCXX_NO_TEMPLATE_EXPORT): To _GLIBCXX_EXPORT_TEMPLATE.
189 (_GLIBCXX_AT_AT): Remove.
190 (__USE_MALLOC): Remove.
191 * include/std/std_fstream.h: Modify.
192 * include/bits/basic_ios.h: Same.
193 * include/bits/valarray_array.h: Same.
194 * include/c_std/std_cmath.h: Same.
195 * include/c_std/cmath.tcc: Same.
196 * include/std/std_vector.h: Same.
197 * include/std/std_string.h: Same.
198 * include/std/std_stack.h: Same.
199 * include/std/std_queue.h: Same.
200 * include/std/std_list.h: Same.
201 * include/std/std_deque.h: Same.
202 * include/std/std_streambuf.h: Same.
203 * include/std/std_sstream.h: Same.
204 * include/std/std_ostream.h: Same.
205 * include/std/std_istream.h: Same.
206 * include/bits/valarray_array.tcc: Same, format.
207
208 * include/c/std_cctype.h: Fix include guards.
209 * include/c/std_cerrno.h: Same.
210 * include/c/std_cfloat.h: Same.
211 * include/c/std_climits.h: Same.
212 * include/c/std_clocale.h: Same.
213 * include/c/std_cmath.h: Same.
214 * include/c/std_csetjmp.h: Same.
215 * include/c/std_csignal.h: Same.
216 * include/c/std_cstdarg.h: Same.
217 * include/c/std_cstddef.h: Same.
218 * include/c/std_cstdio.h: Same.
219 * include/c/std_cstdlib.h: Same.
220 * include/c/std_cstring.h: Same.
221 * include/c/std_ctime.h: Same.
222 * include/c/std_cwchar.h: Same.
223 * include/c/std_cwctype.h: Same.
224 * include/c_std/cmath.tcc: Same.
225 * include/c_std/std_cmath.h: Same.
226
b4c70e89
GB
2272003-07-30 Gawain Bolton <gp.bolton@computer.org>
228
229 PR libstdc++/11504.
230 * include/bits/stl_tree.h: Replace C-style casts with C++-style
231 casts. Changes to avoid casting away constness. Eliminate
232 _Rb_tree_base_iterator class. Change _Rb_tree_iterator to use
233 initialization lists. Move out implementation of __black_count()
234 to...
235 * src/stl_tree.cc: ...here and rename _Rb_tree_black_count().
236 Rename_Rb_tree_base_iterator::_M_increment() to
237 _Rb_tree_increment and _Rb_tree_base_iterator::_M_decrement() to
238 _Rb_tree_decrement.
239 * config/linker-map.gnu: Add and change symbols here.
240
48b3222d
JW
2412003-07-30 Jonathan Wakely <redi@gcc.gnu.org>
242
243 * docs/html/22_locale/howto.html: Use locale::classic() instead
244 of locale("C").
245
cb584bcf
BK
2462003-07-28 Benjamin Kosnik <bkoz@redhat.com>
247
248 * testsuite/testsuite_hooks.h: Remove list include.
249 (func_callback): Define as unique type, not std::list.
250 Change DEBUG_ASSERT to _GLIBCXX_ASSERT.
251 * testsuite/libstdc++-v3.dg/dg.exp: Same.
252 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Same.
253 * testsuite/23_containers/bitset_ctor.cc:
254 * testsuite/17_intro/header_ciso646.cc: Remove DEBUG_ASSERT.
255 * testsuite/18_support/numeric_limits.cc: Same.
256 * testsuite/21_strings/basic_string/append/char/1.cc: Same.
257 * testsuite/21_strings/basic_string/append/wchar_t/1.cc: Same.
258 * testsuite/21_strings/basic_string/compare/char/1.cc: Same.
259 * testsuite/21_strings/basic_string/compare/wchar_t/1.cc: Same.
260 * testsuite/21_strings/basic_string/element_access/char/1.cc: Same.
261 * testsuite/21_strings/basic_string/element_access/char/2.cc: Same.
262 * testsuite/21_strings/basic_string/element_access/char/3.cc: Same.
263 * testsuite/21_strings/basic_string/element_access/wchar_t/1.cc: Same.
264 * testsuite/21_strings/basic_string/element_access/wchar_t/2.cc: Same.
265 * testsuite/21_strings/basic_string/element_access/wchar_t/3.cc: Same.
266 * testsuite/21_strings/basic_string/find/char/1.cc: Same.
267 * testsuite/21_strings/basic_string/find/char/2.cc: Same.
268 * testsuite/21_strings/basic_string/find/char/3.cc: Same.
269 * testsuite/21_strings/basic_string/find/wchar_t/1.cc: Same.
270 * testsuite/21_strings/basic_string/find/wchar_t/2.cc: Same.
271 * testsuite/21_strings/basic_string/find/wchar_t/3.cc: Same.
272 * testsuite/21_strings/basic_string/insert/char/1.cc: Same.
273 * testsuite/21_strings/basic_string/insert/char/2.cc: Same.
274 * testsuite/21_strings/basic_string/insert/wchar_t/1.cc: Same.
275 * testsuite/21_strings/basic_string/insert/wchar_t/2.cc: Same.
276 * testsuite/21_strings/basic_string/inserters_extractors/char/1.cc:
277 * testsuite/21_strings/basic_string/inserters_extractors/char/4.cc:
278 * testsuite/21_strings/basic_string/inserters_extractors/char/5.cc:
279 * testsuite/21_strings/basic_string/inserters_extractors/char/6.cc:
280 * testsuite/21_strings/basic_string/inserters_extractors/char/7.cc:
281 * testsuite/21_strings/basic_string/inserters_extractors/wchar_t/1.cc:
282 * testsuite/21_strings/basic_string/inserters_extractors/wchar_t/4.cc:
283 * testsuite/21_strings/basic_string/inserters_extractors/wchar_t/5.cc:
284 * testsuite/21_strings/basic_string/inserters_extractors/wchar_t/6.cc:
285 * testsuite/21_strings/basic_string/inserters_extractors/wchar_t/7.cc:
286 * testsuite/21_strings/basic_string/operators/char/1.cc: Same.
287 * testsuite/21_strings/basic_string/operators/char/2.cc: Same.
288 * testsuite/21_strings/basic_string/operators/wchar_t/1.cc: Same.
289 * testsuite/21_strings/basic_string/operators/wchar_t/2.cc: Same.
290 * testsuite/21_strings/basic_string/replace/char/1.cc: Same.
291 * testsuite/21_strings/basic_string/replace/wchar_t/1.cc: Same.
292 * testsuite/21_strings/basic_string/rfind/char/1.cc: Same.
293 * testsuite/21_strings/basic_string/rfind/char/2.cc: Same.
294 * testsuite/21_strings/basic_string/rfind/char/3.cc: Same.
295 * testsuite/21_strings/basic_string/rfind/wchar_t/1.cc: Same.
296 * testsuite/21_strings/basic_string/rfind/wchar_t/2.cc: Same.
297 * testsuite/21_strings/basic_string/rfind/wchar_t/3.cc: Same.
298 * testsuite/21_strings/basic_string/substr/char/1.cc: Same.
299 * testsuite/21_strings/basic_string/substr/wchar_t/1.cc: Same.
300 * testsuite/23_containers/bitset_ctor.cc: Same.
301 * testsuite/23_containers/bitset_shift.cc: Same.
302 * testsuite/23_containers/vector_ctor.cc: Same.
303 * testsuite/23_containers/vector_element_access.cc: Same.
304 * testsuite/24_iterators/istreambuf_iterator.cc: Same.
305 * testsuite/24_iterators/iterator.cc: Same.
306 * testsuite/24_iterators/ostreambuf_iterator.cc: Same.
307 * testsuite/25_algorithms/lower_bound.cc: Same.
308 * testsuite/26_numerics/complex_inserters_extractors.cc: Same.
309 * testsuite/27_io/basic_istream/extractors_arithmetic/char/01.cc: Same.
310 * testsuite/27_io/basic_istream/extractors_arithmetic/char/02.cc: Same.
311 * testsuite/27_io/basic_istream/extractors_arithmetic/char/03.cc: Same.
312 * testsuite/27_io/basic_istream/extractors_arithmetic/char/06.cc: Same.
313 * testsuite/27_io/basic_istream/extractors_arithmetic/char/07.cc: Same.
314 * testsuite/27_io/basic_istream/extractors_arithmetic/char/08.cc: Same.
315 * testsuite/27_io/basic_istream/extractors_arithmetic/char/09.cc: Same.
316 * testsuite/27_io/basic_istream/extractors_arithmetic/char/10.cc: Same.
317 * testsuite/27_io/basic_ostream/inserters_arithmetic/char/1.cc: Same.
318 * testsuite/27_io/basic_ostream/inserters_arithmetic/wchar_t/1.cc:
319 Same.
320
e64a227a 321>>>>>>> 1.1912
1cb1de7e
PE
3222003-07-28 Phil Edwards <pme@gcc.gnu.org>
323
324 * docs/doxygen/user.cfg.in, docs/html/abi.txt, docs/html/debug.html,
325 docs/html/test.html, docs/html/17_intro/headers_cc.txt,
326 docs/html/17_intro/howto.html, docs/html/ext/howto.html: Change
327 GLIBCPP to GLIBCXX (and explain as needed).
328
6dfe0fc9
PE
3292003-07-28 Phil Edwards <pme@gcc.gnu.org>
330
331 * README: Update.
332
2cb1c928
PE
3332003-07-28 Phil Edwards <pme@gcc.gnu.org>
334
335 * testsuite/22_locale/messages/members/char/1.cc,
336 testsuite/22_locale/messages/members/char/2.cc,
337 testsuite/22_locale/messages/members/char/3.cc,
338 testsuite/22_locale/messages_byname/1.cc: Update comment regarding
339 the origin of LOCALEDIR.
340 * testsuite/lib/libstdc++-v3.exp: New file.
341
b66ea7d4
BK
3422003-07-25 Benjamin Kosnik <bkoz@redhat.com>
343
344 * include/bits/char_traits.h: Update copyright, tweak.
e884d397 345 * testsuite/ext/pod_char_traits.cc: Explicitly qualify namespace
b66ea7d4
BK
346 std types.
347
d5ff4e3f
MA
3482003-07-24 Matt Austern <austern@apple.com>
349
350 * /include/bits/char_traits.h (class char_traits): Put all the
351 real work into the new class template __gnu_cxx::char_traits.
352 Gave generic definitions for member functions. Types are taken
353 from the new class template __gnu_cxx::_Char_types.
354 * testsuite/21_strings/char_traits/requirements/short/1.cc: New
355 file. Test of std::char_traits<short>, which serves as a test of
356 the char_traits primary template.
357
aecf642c
BK
3582003-07-24 Benjamin Kosnik <bkoz@redhat.com>
359
360 * testsuite/*: Change __gnu_cxx_test to __gnu_test.
361
3622003-07-24 Nathan Myers <ncm-nospam@cantrip.org>
d7541133
NM
363
364 * testsuite/23_containers/map_operators.cc: Conform to
365 container requirement as value must be Assignable.
366
118545ec
AO
3672003-07-23 Alexandre Oliva <aoliva@redhat.com>
368
369 * acinclude.m4 (GLIBCXX_ENABLE_PCH): Rework test such that it
370 tests not only generation of pch files, but also their use.
371 * aclocal.m4, configure: Rebuilt.
372
ff89cb01
SE
3732003-07-23 Steve Ellcey <sje@cup.hp.com>
374
375 * config/cpu/hppa/atomicity.h: Change
376 _GLIBCXX_INST_GLIBCXX_ATOMICITY_LOCK to _GLIBCXX_INST_ATOMICITY_LOCK
377 to match misc-inst.cc
378
1143680e
SE
3792003-07-23 Steve Ellcey <sje@cup.hp.com>
380
381 * include/c_std/cmath.tcc: Use _GLIBCXX_ prefix on file guard.
382 * include/c_std/std_cctype.h: Ditto.
383 * include/c_std/std_cerrno.h: Ditto.
384 * include/c_std/std_cfloat.h: Ditto.
385 * include/c_std/std_climits.h: Ditto.
386 * include/c_std/std_clocale.h: Ditto.
387 * include/c_std/std_cmath.h: Ditto.
388 * include/c_std/std_csetjmp.h: Ditto.
389 * include/c_std/std_csignal.h: Ditto.
390 * include/c_std/std_cstdarg.h: Ditto.
391 * include/c_std/std_cstddef.h: Ditto.
392 * include/c_std/std_cstdio.h: Ditto.
393 * include/c_std/std_cstdlib.h: Ditto.
394 * include/c_std/std_cstring.h: Ditto.
395 * include/c_std/std_ctime.h: Ditto.
396 * include/c_std/std_cwchar.h: Ditto.
397 * include/c_std/std_cwctype.h: Ditto.
398 * include/std/std_algorithm.h: Ditto.
399 * include/std/std_bitset.h: Ditto.
400 * include/std/std_complex.h: Ditto.
401 * include/std/std_deque.h: Ditto.
402 * include/std/std_fstream.h: Ditto.
403 * include/std/std_functional.h: Ditto.
404 * include/std/std_iomanip.h: Ditto.
405 * include/std/std_ios.h: Ditto.
406 * include/std/std_iosfwd.h: Ditto.
407 * include/std/std_iostream.h: Ditto.
408 * include/std/std_istream.h: Ditto.
409 * include/std/std_iterator.h: Ditto.
410 * include/std/std_limits.h: Ditto.
411 * include/std/std_list.h: Ditto.
412 * include/std/std_locale.h: Ditto.
413 * include/std/std_map.h: Ditto.
414 * include/std/std_memory.h: Ditto.
415 * include/std/std_numeric.h: Ditto.
416 * include/std/std_ostream.h: Ditto.
417 * include/std/std_queue.h: Ditto.
418 * include/std/std_set.h: Ditto.
419 * include/std/std_sstream.h: Ditto.
420 * include/std/std_stack.h: Ditto.
421 * include/std/std_stdexcept.h: Ditto.
422 * include/std/std_streambuf.h: Ditto.
423 * include/std/std_string.h: Ditto.
424 * include/std/std_utility.h: Ditto.
425 * include/std/std_valarray.h: Ditto.
426 * include/std/std_vector.h: Ditto.
427
3988d179
DG
4282003-07-22 Doug Gregor <dgregor@apple.com>
429
430 * include/bits/basic_string.h (basic_string::insert): Deprecate
431 GNU extension.
432
5dfda042
BK
4332003-07-21 Benjamin Kosnik <bkoz@redhat.com>
434
435 * scripts/testsuite_flags.in (--build-includes): Remove extraneous
436 paths for libio.
437 * testsuite/27_io/basic_istream/sentry/char/3983-fstream.cc
438 (test03): Include typeinfo for bad_cast.
439 * testsuite/27_io/basic_ostream/sentry/char/3983-sstream.cc: Same.
440 * testsuite/27_io/basic_ostream/sentry/char/3983-fstream.cc: Same.
441 * testsuite/27_io/basic_istream/sentry/char/3983-sstream.cc: Same.
442
3988d179 4432003-07-21 Doug Gregor <dgregor@apple.com>
f345c6b5
DG
444
445 * include/bits/boost_concept_check.h:
446 (_EqualityComparableConcept::__constraints): Remove != from the
447 list of constraints; it is not listed in Table 28 of the C++98
448 standard.
449
2d5f9af2
AJ
4502003-07-18 Andreas Jaeger <aj@suse.de>
451
452 * config/abi/sparc-linux-gnu/baseline_symbols.txt: New file.
453 * config/abi/mips-linux-gnu/baseline_symbols.txt: New file.
454 * config/abi/hppa-linux-gnu/baseline_symbols.txt: New file.
455 * config/abi/x86_64-linux-gnu/baseline_symbols.txt: Regenerated.
456
fea4065d
BK
4572003-07-17 Benjamin Kosnik <bkoz@redhat.com>
458
459 * config/linker-map.gnu: Add __moneypunct_cache, __timepunct_cache.
460 * config/locale/generic/messages_members.h: Tweaks.
461 * config/locale/generic/monetary_members.cc
462 (moneypunct::_M_initialize_moneypunct): Use cache.
463 (moneypunct::~moneypunct): Delete cache.
464 * config/locale/generic/time_members.cc:
465 (__timepunct::_M_initialize_timepunct): Use cache.
466 * config/locale/generic/time_members.h:
467 (__timepunct::~__timepunct): Delete cache.
468 (__timepunct::__timepunct): Set cache.
469 * config/locale/gnu/messages_members.h: Tweaks.
470 * config/locale/gnu/monetary_members.cc:
471 (moneypunct::_M_initialize_moneypunct): Use cache.
472 (moneypunct::~moneypunct): Delete cache.
473 * config/locale/gnu/time_members.cc:
474 (__timepunct::_M_initialize_timepunct): Use cache.
475 * config/locale/gnu/time_members.h:
476 (__timepunct::~__timepunct): Delete cache.
477 (__timepunct::__timepunct): Set cache.
478 * include/bits/locale_facets.h (__timepunct_cache): New.
479 (__moneypunct_cache): New.
480 * include/bits/locale_facets.tcc: Tweak.
481 * src/locale.cc (__timepunct::_S_timezones): Adjust for cache.
482 * src/locale-inst.cc: Instantiate caches.
483 * src/globals.cc: Add "C" caches.
484 * src/localename.cc: Use external "C" caches.
485
83a279e4
PE
4862003-07-17 Phil Edwards <pme@gcc.gnu.org>
487
488 * docs/doxygen/guide.html: Fix typo.
489
db5eed18
BK
4902003-07-16 Benjamin Kosnik <bkoz@redhat.com>
491
492 * include/ext/pod_char_traits.h: Add state template argument.
493
7942afdc
BK
4942003-07-16 Benjamin Kosnik <bkoz@redhat.com>
495
496 * include/bits/locale_facets.h (__num_base::_S_atoms_in): Add -+xX.
497 (num_get::_M_convert_int): To _M_insert_int.
498 (num_get::_M_convert_float): To _M_insert_float.
499 * include/bits/locale_facets.tcc (num_get::_M_extract_float):
500 Use caches for ctype, num_get.
501 (num_get::_M_extract_int): Same.
502 (num_get::get(bool)): Same.
503 (__verify_grouping): Use size_t.
504 * src/locale-inst.cc: Update.
505 * src/locale.cc: Adjust _S_atoms_in.
506
1ef4a5d4
PE
5072003-07-16 Phil Edwards <pme@gcc.gnu.org>
508
509 * docs/doxygen/mainpage.html: Move building/writing instructions...
510 * docs/doxygen/guide.html: ...to here. New file.
511
dced0d12
JW
5122003-07-16 Jonathan Wakely <redi@gcc.gnu.org>
513
514 * docs/html/ext/howto.html: Update URL for SGI STL docs.
515 * docs/html/faq/index.html: Same.
516 * docs/html/faq/index.txt: Regenerate.
517
e50344b9
PC
5182003-07-16 Paolo Carlini <pcarlini@unitus.it>
519
520 PR libstdc++/11528
521 * include/bits/locale_facets.tcc (money_get::do_get):
522 Strip only _leading_ zeros.
523 * testsuite/22_locale/money_get/get/char/11528.cc: Add.
524 * testsuite/22_locale/money_get/get/wchar_t/11528.cc: Add.
525
94b7906a
GP
5262003-07-16 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
527
528 * include/ext/hash_map (class hash_multimap): Remove extra
529 semicolons from __glibcxx_class_requires3 entries.
530 * include/ext/hash_set (class hash_set): Ditto.
531 (class hash_multiset): Ditto.
532
73a530bd
PR
5332003-07-15 Petur Runolfsson <peturr02@ru.is>
534
535 * include/bits/char_traits.h (char_traits<wchar_t>::move):
536 Change last parameter from int_type to size_t.
537
119dbb1f
JQ
5382003-07-15 Jerry Quinn <jlquinn@optonline.net>
539
540 * include/bits/stl_algo.h (includes, set_union, set_intersection,
541 set_difference, set_symmetric_difference, max_element, min_element,
542 next_permutation, prev_permutation, find_first_of, find_end):
543 Document.
544 * include/bits/stl_algobase.h (copy,copy_backward): Clarify overlap
545 restrictions in docs.
546 * include/bits/stl_heap.h (push_heap, pop_heap, make_heap, sort_heap):
547 Document.
548 * docs/doxygen/doxygroups.cc (setoperations): New group.
549
284f19bf
JQ
5502003-07-15 Jerry Quinn <jlquinn@optonline.net>
551
552 * include/bits/basic_string.h: Document public functions.
553 * docs/doxygen/TODO: Update c21 todo.
554
709e7c9f
JQ
5552003-07-15 Jerry Quinn <jlquinn@optonline.net>
556
557 * include/bits/stl_list.h: Document more functions.
558 * docs/doxygen/TODO: Update c23 todo.
559
f45e487d
PC
5602003-07-14 Paolo Carlini <pcarlini@unitus.it>
561
562 * config/locale/gnu/c_locale.h (__convert_from_v): One more
563 qualification.
564
f088510d
PC
5652003-07-14 Paolo Carlini <pcarlini@unitus.it>
566
567 * include/bits/stl_tempbuf.h: Qualify free with std::.
568 * src/locale.cc: Include <cstdlib>, qualify getenv.
569
2def5b76
PC
5702003-07-14 Paolo Carlini <pcarlini@unitus.it>
571
572 * config/locale/gnu/c_locale.h (__convert_from_v): Include
573 <cstdio>. Qualify names.
574 * config/locale/generic/c_locale.h (__convert_from_v): Ditto.
575
bda243ec
PC
5762003-07-14 Paolo Carlini <pcarlini@unitus.it>
577 Nathan C. Myers <ncm-nospam@cantrip.org>
578
579 PR libstdc++/11378
580 * include/std/std_fstream.h (xsputn): Declare only.
581 * include/bits/fstream.tcc (xsputn): Define, optimize for the
582 always_noconv() case: when __n is sufficiently large flush
583 the buffer and issue a direct write, if possible combining the
584 two with writev in __basic_file<>::xsputn_2.
585 * config/io/basic_file_stdio.h (__basic_file<>::xsputn_2):
586 New, declare.
587 * config/io/basic_file_stdio.cc (__basic_file<>::xsputn_2):
588 Define.
589 * acinclude.m4 (GLIBCXX_CHECK_WRITE): New macro, checking for
590 the availability of writev in <sys/uio.h>.
591 * configure.in: Call here.
592 * acconfig.h: Add undef for the corresponding symbol.
593 * aclocal.m4: Regenerate.
594 * configure: Regenerate.
595 * config.h.in: Regenerate.
596 * testsuite/27_io/basic_filebuf/setbuf/char/3.cc: Tweak.
597
598 * include/std/std_fstream.h (sync): Constify a variable.
599
c573d965
BK
6002003-07-14 Benjamin Kosnik <bkoz@redhat.com>
601
602 * testsuite/27_io/ios_base/cons/assign_neg.cc: Fix line numbers.
603 * testsuite/27_io/ios_base/cons/copy_neg.cc: Same.
604
3ad249b9
GDR
6052003-07-14 Gabriel Dos Reis <gcc@integrable-solutions.net>
606
607 * config/locale/gnu/c_locale.h (__convert_from_v): Include
608 <cstring> and <cstdlib>. Qualify names.
609
f2ffecb1
MM
6102003-07-13 Mark Mitchell <mark@codesourcery.com>
611
612 * config/locale/generic/c_locale.h: Include <cstdlib> and
613 <cstring>.
614 * include/bits/boost_concept_check.h: Add this-> to unqualified
615 method calls.
616 * include/bits/deque.tcc: Likewise.
617 * include/bits/locale_facets.h : Likewise.
618 * include/bits/ostream.tcc: Likewise.
619 * include/bits/stl_algo.h: Likewise.
620 * include/bits/stl_bvector.h: Likewise.
621 * include/bits/stl_deque.h: Likewise.
622 * include/bits/stl_list.h: Likewise.
623 * include/bits/stl_tree.h: Likewise.
624 * include/bits/stl_vector.h: Likewise.
625 * include/bits/vector.tcc: Likewise.
626 * include/ext/rope: Likewise.
627 * include/ext/ropeimpl.h: Likewise.
628 * include/ext/stdio_filebuf.h: Likewise.
629
e2fcbaa3
JQ
6302003-07-11 Jerry Quinn <jlquinn@optonline.net>
631
632 * include/bits/basic_ios.h (copyfmt): Document.
633 * include/bits/ios_base.h (event, event_callback, register_callback,
634 xalloc, iword, pword): Document.
635 (imbue, ~ios_base): Update docs on callbacks.
636
58579a27
PE
6372003-07-11 Phil Edwards <pme@gcc.gnu.org>
638
639 * acinclude.m4 (GLIBCC_ENABLE_SYMVERS): Tweak comments. Add
640 warning messages if the environment cannot support symbol versioning.
641 (port_specific_symbol_file): It's plural, add an 's' on the end.
642 * configure.host: Likewise.
643 * src/Makefile.am: Likewise.
644 * config/linker-map.gnu: Remove one semicolon, heh.
645 * scripts/extract_symvers: Don't assume useful 'export' syntax.
646 Set LANG as well as LC_ALL for possibly-broken sort(1)s.
647 * aclocal.m4, configure, src/Makefile.in: Regenerated.
648
cde63840
BK
6492003-07-09 Benjamin Kosnik <bkoz@redhat.com>
650
651 * include/bits/locale_facets.tcc: Use function object for
652 __use_cache instead of template function. Partially specialize for
653 __numpunct<_CharT>.
654 * include/bits/locale_classes.h: Update friend declaration for
655 __use_cache.
656 (_M_install_cache): No throw exception specs.
657 * src/locale.cc: Remove __use_cache specializations.
658 * include/ext/pod_char_traits.h (length): Tweak.
659 * include/bits/locale_facets.h (__numpunct_cache): Remove
660 char_type typedef.
661 * testsuite/testsuite_hooks.h (pod_unsigned_int): Remove.
662 (pod_long): Remove.
663 * testsuite/22_locale/numpunct/members/char/cache_1.cc: New.
664 * testsuite/22_locale/numpunct/members/char/cache_2.cc: New.
665 * testsuite/22_locale/numpunct/members/wchar_t/cache_1.cc: New.
666 * testsuite/22_locale/numpunct/members/wchar_t/cache_2.cc: New.
667 * testsuite/22_locale/numpunct/members/pod/1.cc: New.
668 * testsuite/22_locale/numpunct/members/pod/2.cc: New.
669
e7f042e4
JQ
6702003-07-09 Jerry Quinn <jlquinn@optonline.net>
671
672 * src/ios.cc (_M_grow_words): Fix spelling.
673
ca1c7011
GB
6742003-07-09 Gawain Bolton <gp.bolton@computer.org>
675
676 * include/bits/stl_tree.h: Move larger member functions in
677 _Rb_tree_base_iterator and _Rb_tree_node to...
678 * src/stl_tree.cc: Here.
679 * src/Makefile.in: Add stl_tree.cc.
680 * src/Makefile.in: Regenerated.
681 * config/linker-map.gnu: Add symbols here.
682
9e7facfd
BK
6832003-07-08 Benjamin Kosnik <bkoz@redhat.com>
684
685 * testsuite/ext/pod_char_traits.cc: New.
686 * include/ext/pod_char_traits.h: New.
687 * include/Makefile.am (ext_headers): Add pod_char_traits.h.
688 * include/Makefile.in: Regenerate.
689 * docs/html/21_strings/howto.html: Update.
ca1c7011 690
e55dc371
GB
6912003-07-08 Gawain Bolton <gp.bolton@computer.org>
692
693 * testsuite/performance/list_create_fill_sort.cc: New.
694
c094e9b9
BK
6952003-07-08 Benjamin Kosnik <bkoz@redhat.com>
696
697 * config/locale/generic/numeric_members.cc: Correct type info.
698 * config/locale/gnu/numeric_members.cc: Same.
699 * include/bits/locale_facets.h: Same.
700
701 * include/bits/char_traits.h: Correct spacing.
702
703 * src/locale.cc: Wrap to 80 col.
704
a8784c4c
PC
7052003-07-07 Paolo Carlini <pcarlini@unitus.it>
706
707 * include/std/std_complex.h: Partially revert last
708 changes: cmath functions must not be qualified.
709
313dd504
PE
7102003-07-06 Phil Edwards <pme@gcc.gnu.org>
711
712 * acinclude.m4 (GLIBCXX_ENABLE_SYMVERS): Do not test for binutils
713 2.11 with globbing backport fix.
714 * aclocal.m4, configure: Regenerated.
715
6623b2f2
PC
7162003-07-06 Paolo Carlini <pcarlini@unitus.it>
717
718 * include/std/std_fstream.h (xsputn): Don't call _M_destroy_pback:
719 if output is at all possible (!_M_reading), cannot be active.
720
721 * include/std/std_fstream.h: Tweak comments to doxygen style.
722
391cfc46
PC
7232003-07-06 Paolo Carlini <pcarlini@unitus.it>
724
725 * include/bits/locale_classes.h: Fully qualify standard
726 functions with std::, thus avoiding Koenig lookup.
727 * include/bits/locale_facets.tcc: Likewise.
728 * src/locale.cc: Likewise.
729 * src/localename.cc: Likewise.
730
48166869
PE
7312003-07-06 Phil Edwards <pme@gcc.gnu.org>
732
733 * include/bits/allocator_traits.h: Fix doxygen markup.
734 * include/ext/mt_allocator.h: Likewise.
735
aaa4a229
PE
7362003-07-06 Phil Edwards <pme@gcc.gnu.org>
737
738 * testsuite/testsuite_hooks.h: Guard against a missing unlink().
739
e6b7a69a
PE
7402003-07-05 Phil Edwards <pme@gcc.gnu.org>
741
742 * acinclude.m4 (GLIBCXX_ENABLE_SYMVERS): Bump minimal version
743 requirement. Add port_specific_symbol_file variable.
744 * configure.host: Add docs for port_specific_symbol_file.
745 Clean up try_cpu block for x86.
746 * config/linker-map.gnu: No more "last symbol can't have a
747 semicolon" kaka. Add hook for port-specific symbols.
748 * src/Makefile.am: Remove trailing whitespace.
749 (libstdc++-symbol.ver): Detect the presence of port-specific
750 symbols, and add them accordingly.
751
752 * docs/html/17_intro/porting.texi: Bring up to date.
753
754 * src/Makefile.in, aclocal.m4, configure,
755 docs/html/17_intro/porting.html: Regenerated.
756
ac3d7b44
PE
7572003-07-05 Phil Edwards <pme@gcc.gnu.org>
758
759 * scripts/create_testsuite_files: New file.
760 * testsuite/Makefile.am (all-local, check-performance): Use it.
761 * testsuite/lib/libstdc++-v3-dg.exp (v3-computer-tests): Remove.
762 * testsuite/Makefile.in: Regenerated.
763
764 * testsuite/performance/filebuf_sputc.cc: Remove the temporary
765 files at the end.
766 * testsuite/performance/fstream_seek_write.cc: Likewise.
767 * testsuite/performance/ofstream_insert_float.cc: Likewise.
768 * testsuite/performance/ofstream_insert_int.cc: Likewise.
769 * testsuite/abi_check.cc (main): Nicer spacing in usage output.
770
e3d51be2
GB
7712003-07-05 Gawain Bolton <gp.bolton@computer.org>
772
773 * include/bits/stl_list.h: Performance and memory usage
c094e9b9
BK
774 improvements. In particular, the behaviour of the constructor and
775 destructor as the list header node is no longer dynamically
776 allocated/de-allocated.
e3d51be2
GB
777 * include/bits/list.tcc: Likewise.
778
eb9a4231
PC
7792003-07-05 Paolo Carlini <pcarlini@unitus.it>
780
781 * include/std/std_complex.h: Fully qualify standard
782 functions with std::, thus avoiding Koenig lookup.
783 * include/std/std_memory.h: Likewise.
784 * include/std/std_valarray.h: Likewise.
785
f92c5313
GB
7862003-07-05 Gawain Bolton <gp.bolton@computer.org>
787
788 * include/bits/stl_tree.h: _Rb_tree_rebalance(): Add local
789 variable for grandparent and use const
790
8b87d3fa
DB
7912003-07-05 David Billinghurst <David.Billinghurst@riotinto.com>
792
793 * testsuite/27_io/basic_filebuf/close/char/4879.cc: xfail on cygwin
794 * testsuite/27_io/basic_filebuf/close/char/9964.cc: Ditto
795 * testsuite/27_io/basic_filebuf/open/char/9507.cc: Ditto
796 * testsuite/27_io/basic_filebuf/showmanyc/char/9533-1.cc: Ditto
797 * testsuite/27_io/basic_filebuf/underflow/char/10097.cc: Ditto
798 * testsuite/27_io/objects/char/7.cc: Ditto
799 * testsuite/27_io/objects/char/9661-1.cc: Ditto
800
a8cad3e1
PC
8012003-07-05 Paolo Carlini <pcarlini@unitus.it>
802
803 * include/std/std_bitset.h: Fully qualify standard
804 functions with std::, thus avoiding Koenig lookup.
805
806 * include/std/std_fstream.h: Change comment to doxygen style.
807
2778669a
PE
8082003-07-05 Phil Edwards <pme@gcc.gnu.org>
809
810 * include/std/std_limits.h: More CPP->CXX changes.
811 * scripts/check_survey.in: Likewise.
812
3d7c150e
BK
8132003-07-04 Benjamin Kosnik <bkoz@redhat.com>
814
815 Move from CPP to CXX.
816 * include/bits/c++config: Move to GLIBCXX from GLIBCPP.
817 * testsuite/Makefile.am: Same.
818 * testsuite/Makefile.in: Regenerate.
819 * po/Makefile.am: Same.
820 * po/Makefile.in: Regenerate.
821 * libsupc++/Makefile.am: Same.
822 * libsupc++/Makefile.in: Regenerate.
823 * libmath/Makefile.am: Same.
824 * libmath/Makefile.in: Regenerate.
825 * include/Makefile.am: Same.
826 * include/Makefile.in: Regenerate.
827 * src/Makefile.am: Same.
828 * src/Makefile.in: Regenerate.
829 * acconfig.h: Same.
830 * configure.host: Same.
831 * configure.in: Same.
832 * configure: Regenerate.
833 * acinclude.m4: Same.
834 * aclocal.m4: Same.
835 * src: Change all files in this directory.
836 * testsuite: Same.
837 * include: Same, standardize include guards.
838 * config: Same.
839 * libsupc++: Same.
840
e6cc3a24
ZW
8412003-07-04 Zack Weinberg <zack@codesourcery.com>
842
843 * testsuite/22_locale/collate/compare/wchar_t/2.cc
844 * testsuite/22_locale/collate/compare/wchar_t/wrapped_env.cc
845 * testsuite/22_locale/collate/compare/wchar_t/wrapped_locale.cc
846 * testsuite/22_locale/collate/hash/wchar_t/2.cc
847 * testsuite/22_locale/collate/hash/wchar_t/wrapped_env.cc
848 * testsuite/22_locale/collate/hash/wchar_t/wrapped_locale.cc
849 * testsuite/22_locale/collate/transform/wchar_t/2.cc
850 * testsuite/22_locale/collate/transform/wchar_t/wrapped_env.cc
851 * testsuite/22_locale/collate/transform/wchar_t/wrapped_locale.cc:
852 XFAIL on all targets.
853
d542f114
BK
8542003-07-04 Benjamin Kosnik <bkoz@redhat.com>
855
856 * acinclude.m4 (GLIBCPP_ENABLE_PCH): Fix missed variable.
857 * aclocal.m4: Regenerate.
858 * configure: Regenerate.
e6cc3a24 859
d542f114
BK
8602003-07-04 Jerry Quinn <jlquinn@optonline.net>
861
862 * include/bits/locale_facets.tcc (__int_to_char): Move common case
863 to the top.
864
69ef29fd 8652003-07-04 Benjamin Kosnik <bkoz@redhat.com>
e6cc3a24
ZW
866 Petur Runolfsson <peturr02@ru.is>
867
69ef29fd
BK
868 * config/io/basic_file_stdio.cc: Revert.
869
5b5bf717
PC
8702003-07-04 Paolo Carlini <pcarlini@unitus.it>
871
872 * include/bits/deque.tcc: Fully qualify standard
873 functions with std::, thus avoiding Koenig lookup.
874 * include/bits/gslice_array.h: Likewise.
875 * include/bits/indirect_array.h: Likewise.
876 * include/bits/list.tcc: Likewise.
877 * include/bits/mask_array.h: Likewise.
878 * include/bits/slice_array.h: Likewise.
879
7f6dd1ca
GB
8802003-07-04 Gawain Bolton <gbolton@free.fr>
881
882 * include/bits/stl_tree.h: Performance and memory usage
883 improvements.
884
8c90b13a
L
8852003-07-04 H.J. Lu <hongjiu.lu@intel.com>
886
887 * Makefile.am: Replace PWD with PWD_COMMAND.
888 * Makefile.in: Regenerated.
889 * docs/html/Makefile: Likewise.
890
2f805868
PC
8912003-07-04 Paolo Carlini <pcarlini@unitus.it>
892
893 * include/bits/valarray_array.h: Fully qualify standard
894 functions with std::, thus avoiding Koenig lookup.
895 * include/bits/vector.tcc: Likewise.
896
a30335e9
BK
8972003-07-04 Benjamin Kosnik <bkoz@redhat.com>
898
899 * include/Makefile.am: Update target_ to host_.
900 * include/Makefile.in: Regenerate.
901 * src/Makefile.am: Same.
902 * src/Makefile.in: Regenerate.
903
904 * config/os/gnu-linux/os_defines.h: Remove glibc-2.0 support.
e6cc3a24 905
d8d81f62
BK
9062003-07-04 Benjamin Kosnik <bkoz@redhat.com>
907
908 * acinclude.m4 (GLIBCPP_ENABLE_DEBUG_FLAGS): To
909 --enable-libstdcxx-debug-flags.
910 (GLIBCPP_ENABLE_DEBUG_FLAGS): To --enable-libstdcxx-debug.
911 (GLIBCPP_ENABLE_PCH): To --enable-libstdcxx-pch.
912 * aclocal.m4: Regenerate.
913 * configure: Same.
914 * docs/html/configopts.html: Update.
e6cc3a24 915
10ef4e2e
PC
9162003-07-04 Paolo Carlini <pcarlini@unitus.it>
917
918 Revert the fix for libstdc++/11378.
919
ac2c48d7
PC
9202003-07-04 Paolo Carlini <pcarlini@unitus.it>
921
922 PR libstdc++/11378
923 * include/std/std_fstream.h (xsputn): In the unbuffered case,
924 provided always_noconv(), issue directly _M_file.xsputn.
925 * testsuite/performance/filebuf_unbuf_sputn.cc: New.
926
9dd90ac6
PC
9272003-07-04 Paolo Carlini <pcarlini@unitus.it>
928
929 * include/bits/stl_list.h: Fully qualify standard
930 functions with std::, thus avoiding Koenig lookup.
931 * include/bits/stl_queue.h: Likewise.
932 * include/bits/stl_raw_storage_iter.h: Likewise.
933 * include/bits/stl_tempbuf.h: Likewise.
934 * include/bits/stl_tree.h: Likewise.
935 * include/bits/stl_uninitialized.h: Likewise.
936 * include/bits/stl_vector.h: Likewise.
e6cc3a24 937 * include/ext/rope: Change includes order.
9dd90ac6 938
1b33b6b2
BK
9392003-07-04 Benjamin Kosnik <bkoz@redhat.com>
940
941 * configure.host (fpos_include_dir): Fix.
942
369b78b0
PC
9432003-07-04 Paolo Carlini <pcarlini@unitus.it>
944
945 * include/bits/stl_heap.h: Fully qualify standard
946 functions with std::, thus avoiding Koenig lookup.
947 * include/bits/stl_iterator_base_funcs.h: Likewise.
948
949 * include/bits/stl_algo.h: Qualify __iterator_category too.
950 * include/bits/stl_algobase.h: Likewise.
951 * include/bits/stl_bvector.h: Likewise.
952
953 * include/bits/stl_algo.h: Don't qualify the pair type.
954
cc5112c9
BK
9552003-07-03 Benjamin Kosnik <bkoz@redhat.com>
956
957 * include/Makefile.am (target_headers): Add fpos.h
958 (bits_headers): Remove.
959 * include/Makefile.in: Regenerate.
960 * configure.in: Add FPOS_INC_SRCDIR, substitute it.
961 * configure: Regenerate.
962 * configure.host: Add fpos_include_dir.
963 * config/os/gnu-linux/fpos.h: New.
e6cc3a24
ZW
964 * config/os/generic/fpos.h: Add.
965 * include/bits/fpos.h: Remove.
cc5112c9
BK
966
967 * config/io/c_io_stdio.h: Remove fpos_t typedef.
968
969 * include/bits/fstream.tcc: Tweaks.
970 * include/std/std_fstream.h: Same.
e6cc3a24 971
cc5112c9
BK
972 * testsuite/27_io/fpos/1.cc (test01): Uncomment. Move to...
973 * testsuite/27_io/fpos/mbstate_t/1.cc: ...here.
974 * testsuite/27_io/fpos/mbstate_t/2.cc: Same.
975 * testsuite/27_io/fpos/mbstate_t/3.cc: Same.
976 * testsuite/27_io/fpos/1.cc: New.
e6cc3a24 977
cc5112c9
BK
9782003-07-03 Benjamin Kosnik <bkoz@redhat.com>
979 Petur Runolfsson <peturr02@ru.is>
e6cc3a24 980
cc5112c9
BK
981 * include/std/std_streambuf.h: Remove _M_pos.
982 * config/io/basic_file_stdio.h: Use seekpos instead of seekoff.
983 * config/io/basic_file_stdio.cc: Same, use fseek instead of lseek,
984 use fread/fwrite instead of read/write.
985 * testsuite/27_io/basic_filebuf/showmanyc/char/9533-2.cc: Fix.
986 * testsuite/27_io/basic_filebuf/sputn/char/9339.cc: Close filebufs
987 before reading again.
988 * testsuite/27_io/objects/char/6.cc: Tweak.
e6cc3a24 989
304d79dc
DE
9902003-07-03 David Edelsohn <edelsohn@gnu.org>
991
992 * testsuite/22_locale/num_put/put/char/7.cc: Guard with
993 _GLIBCPP_USE_WCHAR_T.
994
41ba4c46
PC
9952003-07-02 Paolo Carlini <pcarlini@unitus.it>
996
997 * include/bits/basic_string.tcc (_M_replace_aux): Constify
998 __n1 and __off1.
999
da73f9de
PC
10002003-07-02 Paolo Carlini <pcarlini@unitus.it>
1001
1002 * include/bits/stl_bvector.h: Fully qualify standard
1003 functions with std::, thus avoiding Koenig lookup.
1004 * include/bits/stl_construct.h: Likewise.
1005 * include/bits/stl_deque.h: Likewise.
1006
1c380095
PC
10072003-07-02 Paolo Carlini <pcarlini@unitus.it>
1008
1009 * testsuite/22_locale/num_put/put/char/7.cc: Include
1010 <testsuite_hooks.h>, tweak.
1011 * testsuite/22_locale/num_put/put/wchar_t/7.cc: Likewise.
1012
f9f4d1e1
PE
10132003-07-01 Phil Edwards <pme@gcc.gnu.org>
1014
1015 * testsuite/Makefile.am (AM_MAKEFLAGS): Set to -j1 (affects
1016 check* targets, but not libs/programs).
1017 * testsuite/Makefile.in: Regenerate.
1018
b7693a46
RS
10192003-07-01 Roger Sayle <roger@eyesopen.com>
1020
1021 * acinclude.m4 (GLIBCPP_CHECK_STDLIB_SUPPORT): Fix typo in CXXFLAGS.
1022 (GLIBCPP_CHECK_MATH_SUPPORT): Likewise.
1023 * aclocal.m4: Regenerate.
1024 * configure: Regenerate.
1025
a5b1b26c
BK
10262003-07-01 Benjamin Kosnik <bkoz@redhat.com>
1027
1028 * acinclude.m4 (GLIBCPP_ENABLE_PCH): Fix obvious error.
1029 * aclocal.m4: Regenerated.
1030 * configure: Regenerated.
e6cc3a24 1031
f64f3e74
PC
10322003-07-01 Paolo Carlini <pcarlini@unitus.it>
1033
1034 PR libstdc++/11389
1035 * include/bits/fstream.tcc (underflow): For encoding() == 0
1036 don't read more than __buflen chars.
1037 * testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-1.cc: New.
1038 * testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-2.cc: New.
1039 * testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-3.cc: New.
1040 * testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-4.cc: New.
1041
5ee78c21
JQ
10422003-07-01 Jerry Quinn <jlquinn@optonline.net>
1043
1044 * 22_locale/num_put/put/char/7.cc: New.
1045 * 22_locale/num_put/put/wchar_t/7.cc: New.
1046
e97ee22e
JQ
10472003-06-30 Jerry Quinn <jlquinn@optonline.net>
1048
1049 * src/locale.cc (__use_cache<numpunct>): Revert previous relocation.
1050 * include/bits/locale_facets.tcc (__use_cache<numpunct>): Ditto.
1051
7d6a0993
BK
10522003-06-30 Benjamin Kosnik <bkoz@redhat.com>
1053
1054 * 27_io/basic_filebuf/seekoff/char/1-in.cc: New.
1055 * 27_io/basic_filebuf/seekoff/char/1-io.cc: New.
1056 * 27_io/basic_filebuf/seekoff/char/1-out.cc: New.
1057 * 27_io/basic_filebuf/seekoff/char/2-in.cc: New.
1058 * 27_io/basic_filebuf/seekoff/char/2-io.cc: New.
1059 * 27_io/basic_filebuf/seekoff/char/2-out.cc: New.
1060 * 27_io/basic_filebuf/seekoff/char/2.cc: Remove.
1061 * 27_io/basic_filebuf/seekoff/char/3-in.cc: New.
1062 * 27_io/basic_filebuf/seekoff/char/3-io.cc: Change.
1063 * 27_io/basic_filebuf/seekoff/char/3-out.cc: New.
1064 * 27_io/basic_filebuf/seekoff/char/4-io.cc: Remove.
1065 * 27_io/basic_filebuf/seekpos/char/1-in.cc: New.
1066 * 27_io/basic_filebuf/seekpos/char/1-io.cc: New.
1067 * 27_io/basic_filebuf/seekpos/char/1-out.cc: New.
1068 * 27_io/basic_filebuf/seekpos/char/2-in.cc: New.
1069 * 27_io/basic_filebuf/seekpos/char/2-io.cc: New.
1070 * 27_io/basic_filebuf/seekpos/char/2-out.cc: New.
1071 * 27_io/basic_filebuf/seekpos/char/2.cc: Change.
1072 * 27_io/basic_filebuf/seekpos/char/3-in.cc: New.
1073 * 27_io/basic_filebuf/seekpos/char/3-io.cc: Remove.
1074 * 27_io/basic_filebuf/seekpos/char/3-out.cc: New.
1075 * 27_io/basic_filebuf/seekpos/char/4-io.cc: Remove.
1076 * data/seekoff-1.tst: Remove.
1077 * data/seekoff-1io.tst: New.
1078 * data/seekoff-1out.tst: New.
1079 * data/seekoff-2.tst: Remove.
1080 * data/seekoff-2io.tst: New.
1081 * data/seekoff-2out.tst: New.
1082 * data/seekoff.txt
1083 * data/seekpos-1.tst: Remove.
1084 * data/seekpos-1io.tst: New.
1085 * data/seekpos-1out.tst: New.
1086 * data/seekpos-2.tst: Remove.
1087 * data/seekpos-2io.tst: New.
1088 * data/seekpos-2out.tst: New.
1089 * data/seekpos.txt: New.
1090
a5b1b26c 10912003-06-30 Jerry Quinn <jlquinn@optonline.net>
cf0cad09
JQ
1092
1093 * src/locale.cc (__use_cache<numpunct>): Move from here ...
1094 * include/bits/locale_facets.tcc (__use_cache<numpunct>): To
1095 here.
1096
884a757a
PC
10972003-06-30 Paolo Carlini <pcarlini@unitus.it>
1098
1099 * include/bits/stl_algobase.h: Fully qualify standard
1100 functions with std::, thus avoiding Koenig lookup.
1101
5892c641 11022003-06-30 Doug Gregor <dgregor@apple.com>
e6cc3a24 1103
5892c641 1104 * include/bits/locale_facets.tcc (money_get::do_get): Avoid
e6cc3a24 1105 subscripting empty string.
5892c641 1106
7685a26d
PE
11072003-06-30 Phil Edwards <pme@gcc.gnu.org>
1108
1109 * testsuite/Makefile.am (check-am): Do not override.
1110 (baseline_symbols): Declare as PHONY, so no need to 'touch' it.
1111 * testsuite/Makefile.in: Regenerate.
1112
e6cc3a24
ZW
11132003-06-30 Doug Gregor <dgregor@apple.com>
1114
d147b75b
DG
1115 * testsuite/24_iterators/insert_iterator.cc (test01, test02):
1116 Don't initialize an insert_iterator with a singular iterator.
1117
44f0760e 11182003-06-30 Benjamin Kosnik <bkoz@redhat.com>
e6cc3a24 1119
44f0760e
BK
1120 * acinclude.m4 (GLIBCPP_ENABLE_PCH): Add bits for --enable-pch.
1121 * aclocal.m4: Regenerate.
1122 * configure.in (GLIBCPP_CHECK_PCH): Move, change to
1123 GLIBCPP_ENABLE_PCH, default to yes.
1124 * configure: Regenerate.
1125 * docs/html/configopts.html: Add --enable-pch.
e6cc3a24 1126
e37f7da7
PE
11272003-06-30 Phil Edwards <pme@gcc.gnu.org>
1128
1129 * testsuite/lib/libstdc++-v3-dg.exp: Add comments.
1130 (libstdc++-v3-init): Also set LD_RUN_PATH.
1131
cd16e04b
PC
11322003-06-30 Paolo Carlini <pcarlini@unitus.it>
1133
fbfcbadc
PC
1134 * include/std/std_streambuf.h (_M_mode): Unused by streambuf, move
1135 from here to filebuf and stringbuf.
cd16e04b
PC
1136 (~basic_streambuf()): Don't set _M_mode.
1137 (basic_streambuf()): Don't set _M_mode.
1138 * include/std/std_fstream.h (_M_mode): Move here, from streambuf.
1139 (~basic_filebuf()): Clean up.
1140 * include/bits/fstream.tcc (basic_filebuf()): Set _M_mode.
1141 * include/std/std_sstream.h (_M_mode): Move here, from streambuf.
1142 * testsuite/27_io/basic_streambuf/cons/char/1.cc: Don't set _M_mode.
1143 * testsuite/27_io/basic_streambuf/overflow/char/1.cc: Likewise.
1144 * testsuite/27_io/basic_streambuf/sgetc/char/1.cc: Likewise.
1145 * testsuite/27_io/basic_streambuf/sgetn/char/1.cc: Likewise.
1146 * testsuite/27_io/basic_streambuf/sputn/char/1.cc: Likewise.
1147
11482003-06-30 Paolo Carlini <pcarlini@unitus.it>
1149
1150 * include/std/std_fstream.h (_M_underflow): Remove.
1151 (uflow): Remove, inherited from streambuf.
1152 (underflow): Only declare.
e6cc3a24 1153 * include/bits/fstream.tcc (_M_underflow): Rename to
cd16e04b
PC
1154 underflow, to which is equivalent for __bump == false,
1155 simplify.
1156 * include/std/std_sstream.h (_M_underflow): Remove.
1157 (uflow): Remove, inherited from streambuf.
1158 (underflow): Only declare.
e6cc3a24 1159 * include/bits/sstream.tcc (_M_underflow): Rename to
cd16e04b
PC
1160 underflow, to which is equivalent for __bump == false,
1161 simplify.
1162
c868f37e
PC
11632003-06-29 Paolo Carlini <pcarlini@unitus.it>
1164
fbfcbadc
PC
1165 * include/bits/stl_algo.h: Fully qualify standard functions
1166 with std::, thus avoiding Koenig lookup.
c868f37e 1167
165f54e0
PC
11682003-06-29 Paolo Carlini <pcarlini@unitus.it>
1169
1170 * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-1.cc:
1171 Improve type correctness-wise.
1172 * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-2.cc:
1173 Likewise.
1174 * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-3.cc:
1175 Likewise.
1176 * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-4.cc:
1177 Likewise.
1178
90319d16
PC
11792003-06-29 Paolo Carlini <pcarlini@unitus.it>
1180
1181 * include/std/std_streambuf.h (uflow): According to
1182 27.5.2.4.3,p16, don't check gptr() < egptr().
1183
b417ae14
PC
11842003-06-28 Paolo Carlini <pcarlini@unitus.it>
1185
1186 PR libstdc++/9875
1187 * include/bits/fstream.tcc (seekoff): Fix for encoding() > 0.
1188 (seekpos): Likewise.
1189 * testsuite/27_io/basic_filebuf/seekoff/wchar_t/9875_seekoff.cc:
1190 New test.
1191 * testsuite/27_io/basic_filebuf/seekpos/wchar_t/9875_seekpos.cc:
1192 New test.
1193
f1a22109
BK
11942003-06-27 Benjamin Kosnik <bkoz@redhat.com>
1195
1196 * testsuite/testsuite_performance.h (__gnu_cxx_test): Change
1197 output name to libstdc++-v3-performance.sum.
1198 * testsuite/Makefile.am (CLEANFILES): Remove .performance.
1199 * testsuite/Makefile.in: Regenerate.
e6cc3a24 1200
f1a22109
BK
12012003-06-27 Matthias Klose <doko@debian.org>
1202
1203 * testsuite/Makefile.am (check-abi, check-abi-verbose): Save
1204 output of abi-check in libstdc++-v3-abi.sum.
1205 * testsuite/Makefile.in: Regenerate.
1206
2e8a523f
KW
12072003-06-27 Krister Walfridsson <cato@df.lth.se>
1208
1209 * config/os/bsd/netbsd/ctype_noninline.h
1210 (_C_ctype_): Declare.
1211 (ctype<char>::classic_table): Return _C_ctype_ + 1.
1212 (ctype<char>::ctype): Use classic_table.
1213
3461133d
PC
12142003-06-27 Paolo Carlini <pcarlini@unitus.it>
1215 Nathan C. Myers <ncm-nospam@cantrip.org>
1216
1217 PR libstdc++/9178
1218 * include/bits/fstream.tcc (_M_underflow): Properly estimate
1219 the worst-case number of external bytes for a given get area.
1220 * testsuite/27_io/basic_filebuf/underflow/wchar_t/9178.cc: New.
1221
12222003-06-27 Paolo Carlini <pcarlini@unitus.it>
1223 Petur Runolfsson <peturr02@ru.is>
1224
1225 PR libstdc++/11305
1226 * include/bits/fstream.tcc (overflow): Properly estimate the
1227 worst-case number of external bytes for a given put area
1228 (by using codecvt::max_length()).
1229 * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-1: New.
1230 * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-2: New.
1231 * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-3: New.
1232 * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-4: New.
1233
5648db54
NS
12342003-06-27 Nathan Sidwell <nathan@codesourcery.com>
1235
1236 * config/linker-map.gnu: Remove ; after __numpunct_cache.
1237
215f9e28
BK
12382003-06-26 Benjamin Kosnik <bkoz@redhat.com>
1239
1240 * include/bits/ios_base.h (ios_base::_M_getloc): Return reference
1241 to the imbued locale.
1242 * include/bits/locale_facets.tcc (num_put::_M_convert_int): Use
1243 _M_getloc.
1244 (num_put::_M_convert_float): Use.
1245
12462003-06-26 Benjamin Kosnik <bkoz@redhat.com>
1247 Jerry Quinn <jlquinn@optonline.net>
1248
1249 * config/linker-map.gnu: Add __numpunct_cache.
1250 * config/locale/gnu/numeric_members.cc
1251 (numpunct::_M_initialize_numpunct): Account for _M_data, fill in
1252 all elements for "C" locale.
1253 (numpunct::~numpunct): Delete _M_data.
e6cc3a24 1254 * config/locale/generic/numeric_members.cc: Same.
215f9e28
BK
1255 * include/bits/basic_ios.tcc
1256 (basic_ios::init): Remove __locale_cache bits.
1257 (basic_ios::_M_cache_locale): Same.
e6cc3a24 1258 * include/bits/ios_base.h: Same. Tweaks.
215f9e28
BK
1259 * include/bits/locale_classes.h: Tweaks. Reorder classes.
1260 (__use_cache): Make friends with _Impl, locale.
1261 (_Impl::_M_caches): Add.
1262 (_Impl::_M_install_cache): Add.
1263 * include/bits/locale_facets.h (__numpunct_cache): New.
1264 (numpunct): Encapsulate data members in __numpunct_cache member,
1265 _M_data. Adjust virtuals.
e6cc3a24 1266 (numpunct::numpunct): New ctor for the same.
215f9e28 1267 (__locale_cache_base): Remove.
e6cc3a24 1268 (__locale_cache): Remove.
215f9e28
BK
1269 * include/bits/locale_facets.tcc (__use_cache): New function,
1270 specializations.
1271 (num_put::_M_convert_int, _M_convert_float, do_put): Use it.
1272 * src/globals.cc: Add cache_vec, numpunct_cache_c, numpunct_cache_w.
1273 * src/ios.cc (ios_base::ios_base): Remove __locale_cache.
1274 * src/locale-inst.cc: Same. Add __numpunct_cache.
1275 * src/locale.cc: Tweak inlines.
1276 (__use_cache): Define specializations.
1277 * src/localename.cc: Use global bits.
1278 (_Impl::~Impl): Deal with __numpunct_cache destruction.
1279 (_Impl::_Impl): Same. Pre-cache standard numpunct facets.
1280 (_Impl::_M_init_facet): Take into account __numpunct_cache.
1281 * testsuite/27_io/ios_base/cons/assign_neg.cc: Update line numbers.
1282 * testsuite/27_io/ios_base/cons/copy_neg.cc: Same.
1283
8370378a 12842003-06-26 Nathan C. Myers <ncm-nospam@cantrip.org>
e6cc3a24 1285 Paolo Carlini <pcarlini@unitus.it>
8370378a
NM
1286
1287 * testsuite/performance/filebuf_copy.cc: New, testing char
1288 by char file copy.
1289
2cfe4e68 12902003-06-26 Paolo Carlini <pcarlini@unitus.it>
e6cc3a24 1291 Nathan C. Myers <ncm-nospam@cantrip.org>
2cfe4e68
PC
1292
1293 * include/bits/fstream.tcc (_M_underflow): When the actual
1294 end of file is reached, set 'uncommitted' mode to allow a
1295 next write without an intervening seek (see C++98 27.8.1.1,2
1296 and C89 7.9.5.3).
1297 * testsuite/27_io/basic_filebuf/underflow/char/2.cc: New.
1298
29d9ed97
NM
12992003-06-25 Nathan C. Myers <ncm-nospam@cantrip.org>
1300
1301 * include/bits/streambuf.tcc (sbumpc, sputbackc, sungetc,
1302 sputc): Move inline, from here...
1303 * include/std/std_streambuf.h: ... to here.
1304
1305 * include/std/std_streambuf.h (snextc, sbumpc, sgetc,
1306 sputbackc, sungetc, sputc): Use __builtin_expect.
1307
c1a62440
PE
13082003-06-24 Phil Edwards <pme@gcc.gnu.org>
1309
1310 * docs/doxygen/mainpage.html: Use a useful title.
1311
cdc1242a
BK
13122003-06-24 Benjamin Kosnik <bkoz@redhat.com>
1313
1314 * docs/html/documentation.html: Remove assignment info.
1315 * docs/html/17_intro/contribute.html: Edits.
1316 * docs/html/17_intro/libstdc++-assign.tx: Remove.
1317
1318 * docs/html/test.html: Update.
1319
1320 * README: Update.
e6cc3a24 1321
1b6f0a56 13222003-06-24 Benjamin Kosnik <bkoz@redhat.com>
e6cc3a24 1323 Ulrich Drepper <drepper@redhat.com>
1b6f0a56
BK
1324
1325 * testsuite/testsuite_performance.h: Tweak mallinfo.
1326
71b46021 13272003-06-24 Paolo Carlini <pcarlini@unitus.it>
e6cc3a24 1328 Nathan C. Myers <ncm-nospam@cantrip.org>
71b46021
PC
1329
1330 * include/std/std_fstream.h (_M_filepos): Remove.
1331 (_M_reading, _M_writing): New, encode the various I/O modes:
1332 'read', 'write' and 'uncommitted'.
1333 (sync): If there is something to flush, do it, then go to
1334 'uncommitted' mode.
1335 * include/bits/fstream.tcc (_M_set_buffer): Overhaul to deal
1336 with three different cases: __off > 0 (upon underflow),
1337 __off == 0 (upon overflow), __off == -1 (upon open, setbuf,
1338 seekoff/pos).
1339 (_M_underflow): Don't call overflow, set _M_reading to true
1340 on success, tweak.
1341 (pbackfail): Set _M_reading to true on pback creation, tweak.
1342 (overflow): Don't seek, deal with overflow in 'uncommitted' mode,
1343 set _M_writing to true on success, tweak.
1344 (seekoff): Simplify, set _M_reading, _M_writing to false, call
1345 _M_set_buffer(-1) ('uncommitted').
1346 (open, close, setbuf): Set _M_reading, _M_writing to false and
1347 call _M_set_buffer(-1), tweak.
1348 (basic_filebuf): Don't set _M_buf_unified.
1349 (_M_destroy_internal_buffer): Don't call setg and setp.
1350 * include/ext/stdio_filebuf.h (stdio_filebuf): Use _M_reading,
1351 _M_writing and _M_set_buffer(-1).
1352 * include/std/std_streambuf.h (_M_move_out_cur, _M_move_in_cur,
1353 _M_out_lim, _M_buf_unified): Remove.
1354 (basic_streambuf): Don't set _M_out_lim and _M_buf_unified.
e6cc3a24 1355 (setp): Don't set _M_out_lim.
71b46021
PC
1356 * testsuite/27_io/basic_filebuf/sbumpc/char/1-io.cc: Fix for
1357 the new logic ('read', 'write' and 'uncommitted' modes): e.g.,
1358 upon open the mode is 'uncommitted' and therefore the put area
1359 pointers are null.
1360 * testsuite/27_io/basic_filebuf/sbumpc/char/1-out.cc: Ditto.
1361 * testsuite/27_io/basic_filebuf/seekoff/char/3-io.cc: Ditto.
1362 * testsuite/27_io/basic_filebuf/seekpos/char/3-io.cc: Ditto.
1363 * testsuite/27_io/basic_filebuf/setbuf/char/1.cc: Ditto.
1364 * testsuite/27_io/basic_filebuf/sgetc/char/1-io.cc: Ditto.
1365 * testsuite/27_io/basic_filebuf/sgetc/char/1-out.cc: Ditto.
1366 * testsuite/27_io/basic_filebuf/sgetn/char/1-io.cc: Ditto.
1367 * testsuite/27_io/basic_filebuf/sgetn/char/1-out.cc: Ditto.
1368 * testsuite/27_io/basic_filebuf/snextc/char/1-io.cc: Ditto.
1369 * testsuite/27_io/basic_filebuf/snextc/char/1-out.cc: Ditto.
1370 * testsuite/27_io/basic_filebuf/sputbackc/char/1-io.cc: Ditto.
1371 * testsuite/27_io/basic_filebuf/sputbackc/char/1-out.cc: Ditto.
1372 * testsuite/27_io/basic_filebuf/sputc/char/1-io.cc: Ditto.
1373 * testsuite/27_io/basic_filebuf/sputc/char/1-out.cc: Ditto.
1374 * testsuite/27_io/basic_filebuf/sputc/char/9701-2.cc: Ditto.
1375 * testsuite/27_io/basic_filebuf/sputn/char/1-io.cc: Ditto.
1376 * testsuite/27_io/basic_filebuf/sputn/char/1-out.cc: Ditto.
1377 * testsuite/27_io/basic_filebuf/sputn/char/9701-1.cc: Ditto.
1378 * testsuite/27_io/basic_filebuf/sungetc/char/1-io.cc: Ditto.
1379 * testsuite/27_io/basic_filebuf/sungetc/char/1-out.cc: Ditto.
1380
1381 * include/bits/fstream.tcc (showmanyc): Use only the
1382 documented derivation interface to basic_streambuf (gptr(),
1383 setg(), etc.) to work right with user specializations.
1384 * include/bits/streambuf.tcc (sbumpc, sputbackc, sungetc,
1385 sputc, xsgetn, xsputn, __copy_streambufs): Likewise.
1386 * include/std/std_streambuf.h (in_avail, sgetc, uflow, stossc):
1387 Likewise.
1388 * include/std/std_fstream.h (_M_create_pback, _M_destroy_pback,
1389 xsgetn): Likewise.
1390
9eb6e1d3
LR
13912003-06-23 Loren J. Rittle <ljrittle@acm.org>
1392
1393 * configure.host (freebsd*): Set abi_baseline_pair.
1394 * config/abi/i386-freebsd4/baseline_symbols.txt: Update from 3.2
1395 (at or near first release) to 3.3.
1396 * config/abi/i386-freebsd5/baseline_symbols.txt: New file.
1397 * config/abi/alpha-freebsd5/baseline_symbols.txt: New file.
1398 * config/abi/sparc-freebsd5/baseline_symbols.txt: New file.
1399
3d57d7ba 1400 * include/ext/mt_allocator.h: Portability.
d1a2c4d6 1401 * testsuite/testsuite_performance.h: Likewise.
3d57d7ba 1402
c89c30dd
BK
14032003-06-23 Benjamin Kosnik <bkoz@redhat.com>
1404
1405 * docs/html/17_intro/libstdc++-assign.txt: Update address.
1406
1407 * testsuite/performance/ifstream_getline.cc: Fix.
e6cc3a24 1408
c89c30dd 14092003-06-23 Doug Gregor <dgregor@apple.com>
2b491e3a 1410
e6cc3a24
ZW
1411 * include/bits/boost_concept_check.h: Don't use _D or _R for type
1412 names.
2b491e3a 1413
1b170b55
PC
14142003-06-22 Paolo Carlini <pcarlini@unitus.it>
1415 Nathan C. Myers <ncm-nospam@cantrip.org>
1416
1417 * include/std/std_streambuf.h (_M_move_out_cur): _M_out_lim
1418 is now used only for filebuf, when _M_buf_unified is true.
1419 epgtr() plays the role of _M_out_lim but it's only updated
1420 upon overflow, underflow, uflow, seekoff/pos.
1421 * include/bits/sstream.tcc (_M_underflow): New, implements
1422 stringbuf::underflow and uflow.
1423 (seekoff, seekpos): Tweak, use _M_update_egptr.
1424 * include/std/std_sstream.h (str): Rewrote, deal correctly
1425 with the new logic, in particular, when pptr() > egptr().
1426 (_M_sync): When __testout && !__testin set all the get area
1427 pointers to the current string end.
1428 (_M_update_egptr): New, internal function updating egptr()
1429 to the actual string end.
1430 (_M_underflow): New, declare.
1431 (underflow): Dispatch to _M_underflow(false).
1432 (uflow): Dispatch to _M_underflow(true).
1433
1434 * include/bits/sstream.tcc (pbackfail, overflow, seekoff,
1435 seekpos): Use only the documented derivation interface to
1436 basic_streambuf (gptr(), setg(), etc.) to work right with
1437 user specializations.
1438 * include/std/std_sstream.h (str, _M_sync): Likewise.
1439
8dbe14be
DG
14402003-06-20 Doug Gregor <dgregor@apple.com>
1441
1b170b55
PC
1442 * testsuite/20_util/auto_ptr.cc: Don't dereference NULL auto_ptr
1443 * testsuite/21_strings/basic_string/replace/char/4.cc: Don't
1444 dereference end iterator.
1445 * testsuite/21_strings/basic_string/replace/wchar_t/4.cc: Same.
1446 * testsuite/22_locale/ctype/narrow/char/1.cc: Don't subscript with
1447 index equal to the length of a string.
1448 * testsuite/22_locale/ctype/narrow/char/2.cc: Same.
1449 * testsuite/22_locale/ctype/narrow/wchar_t/1.cc: Same.
1450 * testsuite/22_locale/ctype/narrow/wchar_t/2.cc: Same.
1451 * testsuite/22_locale/ctype/widen/char/1.cc: Same.
1452 * testsuite/22_locale/ctype/widen/wchar_t/1.cc: Same.
1453 * testsuite/23_containers/list_modifiers.cc: Don't dereference
1454 singular reverse iterator.
1455 * testsuite/23_containers/vector_bool.cc: Don't increment singular
1456 iterator.
1457 * testsuite/24_iterators/rel_ops.cc: Don't compare singular iterator.
8dbe14be 1458
bdb0f0f5
DG
14592003-06-20 Doug Gregor <dgregor@apple.com>
1460
e6cc3a24 1461 * include/bits/basic_string.h (basic_string::replace): Dispatch
bdb0f0f5
DG
1462 _InputIterator version based on _Is_integer.
1463 * include/bits/basic_string.tcc (basic_string::replace):
1464 Renamed replace(iterator, iterator, size_type, _CharT) to
1465 _M_replace_aux.
1466 * testsuite/21_strings/basic_string/assign/char/1.cc (test01):
1467 Test basic_string::assign(_InputIterator, _InputIterator),
1468 which calls basic_string::replace(iterator, iterator,
1469 _Input_iterator, _InputIterator).
1470
f5a6463e
BK
14712003-06-20 Benjamin Kosnik <bkoz@redhat.com>
1472
1473 * testsuite/testsuite_performance.h (resource_counter): Don't use
1474 mallinfo at the moment.
1475
bbdfb3e8
MK
14762003-06-20 Matthias Klose <doko@debian.org>
1477
1478 * configure.host: Set try_cpu to target_cpu for existing
1479 baseline files.
1480
97460e9a
AJ
14812003-06-19 Andreas Jaeger <aj@suse.de>
1482
1483 * testsuite/Makefile.am (extract_symvers): Revert accidental
1484 change.
1485 * testsuite/Makefile.in: Regenerate.
1486
1487 * configure.in: Pass MULTISUBDIR to testsuite/Makefile.
1488 * configure: Regenerated.
1489
50af15ec
PC
14902003-06-19 Paolo Carlini <pcarlini@unitus.it>
1491
1492 * include/std/std_sstream.h (_M_sync): Make non virtual.
1493
ce4f8c6b
BK
14942003-06-18 Benjamin Kosnik <bkoz@redhat.com>
1495
1496 * testsuite/testsuite_performance.h (time_counter): New.
1497 (resource_counter): New.
1498 (report_performance): New.
1499 (start_counters): New.
1500 (stop_counters): New.
97460e9a 1501 (clear_counters): New.
ce4f8c6b
BK
1502 * testsuite/performance/allocator.cc: Instrument.
1503 * testsuite/performance/cout_insert_int.cc: Same.
1504 * testsuite/performance/complex_norm.cc: Same.
1505 * testsuite/performance/filebuf_sputc.cc: New.
1506 * testsuite/performance/fstream_seek_write.cc: Same.
1507 * testsuite/performance/ifstream_getline.cc: Same.
1508 * testsuite/performance/map_create_fill.cc: Same.
1509 * testsuite/performance/ofstream_insert_float.cc: Same.
1510 * testsuite/performance/ofstream_insert_int.cc: Same.
97460e9a 1511 * testsuite/performance/string_append.cc: Convert.
ce4f8c6b
BK
1512 * scripts/check_performance: New.
1513 * testsuite/Makefile.am (check-performance): New.
1514 (CLEANFILES): Add.
97460e9a 1515
b82a33d2 15162003-06-18 Paolo Carlini <pcarlini@unitus.it>
e6cc3a24 1517 Benjamin Kosnik <bkoz@redhat.com>
b82a33d2
PC
1518
1519 * include/std/std_sstream.h (setbuf): Check __n >= 0.
1520 * include/bits/fstream.tcc (setbuf): Tweak.
1521
4c526d09
PC
15222003-06-18 Paolo Carlini <pcarlini@unitus.it>
1523
1524 * include/bits/sstream.tcc (seekoff): We can't seek beyond
1525 _M_out_lim, therefore _M_move_out_cur boils down to simply
1526 updating _M_out_cur.
1527 (seekpos): Likewise, clean up.
1528
c1b74c21 15292003-06-18 Nathan C. Myers <ncm-nospam@cantrip.org>
e6cc3a24 1530 Paolo Carlini <pcarlini@unitus.it>
c1b74c21
NM
1531
1532 * include/bits/fstream.tcc (setbuf): Allow (__s, 1) too,
1533 simply equivalent to the unbuffered case (0, 0) as far as
1534 _M_buf_size is concerned.
1535
a1af4623
AJ
15362003-06-18 Andreas Jaeger <aj@suse.de>
1537
1538 * testsuite/Makefile.am (new-abi-baseline): Create baseline
1539 directory.
1540 (baseline_file): Use baseline_dir.
1541 (baseline_dir): New.
1542 (mkinstalldirs): New.
1543
1544 * acinclude.m4: Rename baseline_file to baseline_dir, strip
1545 filename from baseline_dir.
1546
1547 * testsuite/Makefile.in: Regenerated.
1548 * Makefile.in: Regenerated.
1549 * aclocal.m4: Regenerated.
1550 * configure: Regenerated.
1551
2f934953
BK
15522003-06-17 Benjamin Kosnik <bkoz@redhat.com>
1553
1554 * configure.in: Missed check_survey bit.
1555 * configure: Regenerated.
1556
0676e930
BK
15572003-06-17 Benjamin Kosnik <bkoz@redhat.com>
1558
1559 * scripts: New.
1560 * config/abi/extract_symvers: Move to...
1561 * scripts/extract_symvers: ...here.
1562 * mkcheck.in: Move to..
1563 * scripts/check_survey.in: ...here.
1564 * testsuite_flags.in: Move to..
1565 * scripts/testsuite_flags.in: ...here.
1566 * configure.in: Change check and testsuite_flags locations.
1567 * configure: Regenerate.
1568 * testsuite/Makefile.am (current_symbols.txt): Change location.
1569 * testsuite/Makefile.in: Regenerate.
1570 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Modify
1571 location of testsuite_flags.
1572 * Makefile.am (check-script): Move..
1573 (check-script-install): Move...
a1af4623 1574 * testsuite/Makefile.am: ... here.
0676e930 1575 * testsuite/Makefile.in: Regenerate.
a1af4623
AJ
1576 * Makefile.in: Regenerate.
1577
82620aaf
BK
15782003-06-17 Benjamin Kosnik <bkoz@redhat.com>
1579
1580 * config/abi/i486-linux-gnu/baseline_symbols.txt: Update to 3.3.0.
1581
c4c064e7
BK
15822003-06-16 Benjamin Kosnik <bkoz@redhat.com>
1583
1584 * Makefile.am (check-abi): Move...
1585 (new-abi-baseline): Move...
1586 * testsuite/Makefile.am: ...here.
1587 (new-abi-baseline): Conditionalize.
1588 (check-abi): Conditionalize.
1589 (check-abi-verbose): New.
1590 * Makefile.in: Regenerate.
a1af4623 1591 * testsuite/Makefile.in: Regenerate.
c4c064e7
BK
1592 * configure.in: Consolidate testsuite configure bits.
1593 * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Same.
1594 * configure: Regenerate.
a1af4623 1595 * aclocal.m4: Regenerate.
c4c064e7
BK
1596 * testsuite/abi_check.cc: Add --check-verbose.
1597 Only output detailed information if --check-verbose.
1598
e7bb3511 15992003-06-16 Andreas Jaeger <aj@suse.de>
a1af4623 1600
e6cc3a24 1601 * testsuite/abi_check.cc: Create summary report.
a1af4623 1602
8363b773
PC
16032003-06-16 Paolo Carlini <pcarlini@unitus.it>
1604
1605 * testsuite/27_io/basic_filebuf/sgetn/char/1-in.cc: Fix
1606 for systems with BUFSIZ != 8192.
1607 * testsuite/27_io/basic_filebuf/sgetn/char/1-io.cc: Ditto.
1608 * testsuite/27_io/basic_filebuf/sgetn/char/1-out.cc:
1609 Minor tweaks.
1610
5ab481e0
BK
16112003-06-16 Andreas Jaeger <aj@suse.de>
1612
1613 * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): Make
1614 check-abi multilib aware.
1615 * aclocal.m4: Regenerate.
1616 * configure: Regenerate.
a1af4623 1617
5ab481e0 16182003-06-16 Benjamin Kosnik <bkoz@redhat.com>
e6cc3a24 1619 Andreas Jaeger <aj@suse.de>
5ab481e0
BK
1620
1621 * configure.host: Set x86_64 abi_baseline pair correctly.
1622
0bad3b7c
PC
16232003-06-16 Paolo Carlini <pcarlini@unitus.it>
1624
1625 * testsuite/27_io/basic_filebuf/sungetc/char/1.cc: Split and
e6cc3a24 1626 fix for missing seeks between gets and puts into...
0bad3b7c
PC
1627 * testsuite/27_io/basic_filebuf/sungetc/char/1-in.cc: New.
1628 * testsuite/27_io/basic_filebuf/sungetc/char/1-io.cc: New.
1629 * testsuite/27_io/basic_filebuf/sungetc/char/1-out.cc: New.
1630 * testsuite/27_io/basic_filebuf/sungetc/char/2-in.cc: New.
1631 * testsuite/27_io/basic_filebuf/sungetc/char/2-io.cc: New.
1632 * testsuite/27_io/basic_filebuf/sungetc/char/2-out.cc: New.
a1af4623 1633
dc4add82
RH
16342003-06-15 Richard Henderson <rth@redhat.com>
1635
1636 * config/linker-map.gnu: Export virtual function thunks for
1637 64-bit systems too.
1638
ef16a298
BK
16392003-06-13 Benjamin Kosnik <bkoz@redhat.com>
1640
1641 * config/abi/i686-pc-linux-gnu: To..
1642 * config/abi/i486-linux-gnu: ...this.
1643 * config/abi/alphaev67-unknown-linux-gnu: To..
1644 * config/abi/alpha-linux-gnu: ...this.
1645 * config/abi/ia64-unknown-linux-gnu: To...
1646 * config/abi/ia64-linux-gnu: ...this.
1647 * config/abi/x86_64-unknown-linux-gnu: To...
1648 * config/abi/x86_64-linux-gnu: ...this.
1649 * config/abi/i386-unknown-freebsd4: To...
1650 * config/abi/i386-freebsd4: ...this.
5ab481e0
BK
1651 * config/linker-map.gnu: Cleanups, move libsupc++ bits into
1652 CXXABI.
ef16a298
BK
1653 * configure.host: abi_baseline_triplet to abi_baseline_pair.
1654 Simplify cpu bits so that abi_baseline_pair can use the same
1655 cpu configuration.
1656 * acinclude.m4: Same.
1657 * aclocal.m4: Regenerate.
1658 * configure.in: Can't get enable_abi_check to yes unless native.
1659 * configure: Regenerate.
1660
ed242935
PC
16612003-06-13 Paolo Carlini <pcarlini@unitus.it>
1662
1663 * testsuite/27_io/basic_filebuf/seekoff/char/1.cc: Split and
1664 fix for missing seeks between gets and puts into...
1665 * testsuite/27_io/basic_filebuf/seekoff/char/3-io.cc: New.
1666 * testsuite/27_io/basic_filebuf/seekoff/char/4-io.cc: New.
1667 * testsuite/27_io/basic_filebuf/seekpos/char/1.cc: Same, into...
1668 * testsuite/27_io/basic_filebuf/seekpos/char/3-io.cc: New.
1669 * testsuite/27_io/basic_filebuf/seekpos/char/4-io.cc: New.
1670 * testsuite/27_io/basic_filebuf/sputbackc/char/1-io.cc: Fix
1671 for missing seeks between gets and puts.
1672 * testsuite/27_io/basic_filebuf/sputbackc/char/2-io.cc: Ditto.
1673 * testsuite/data/seekoff-1.tst: New.
1674 * testsuite/data/seekoff-2.tst: New.
1675 * testsuite/data/seekpos-1.tst: New.
1676 * testsuite/data/seekpos-2.tst: New.
1677
ca566e4c
NM
16782003-06-13 Nathan C. Myers <ncm-nospam@cantrip.org>
1679
1680 Avoid multi-processor bus contention on increment/decrement-and-
a1af4623 1681 test of the reference count in the empty-string object, by comparing
e6cc3a24
ZW
1682 addresses first, and never touching the reference count of the empty-
1683 string object.
ca566e4c
NM
1684 * include/bits/basic_string.h:
1685 (_S_empty_rep_storage): Move into basic_string<>::_Rep for use by its
1686 members.
a1af4623 1687 (_Rep::_S_empty_rep()): New accessor.
ca566e4c
NM
1688 (_Rep::_M_length, _Rep::_M_capacity, _Rep::_M_references): Move to
1689 a base class _Rep_base.
1690 (_Rep::_M_dispose, _Rep::_M_refcopy): Check for the empty string.
1691 (basic_string()): Change to use _M_refdata() in place of _M_refcopy(),
1692 since no longer must increment its refcount.
1693 * include/bits/basic_string.tcc:
a1af4623 1694 (_Rep::_M_destroy, _M_leak_hard): Check for the empty string and
e6cc3a24
ZW
1695 return immediately. The former might be unnecessary. The latter
1696 prevents begin() and end() from cloning it unnecessarily.
ca566e4c
NM
1697 (_S_construct(_InIterator, _InIterator, const _Alloc&,
1698 input_iterator_tag), _S_construct(_InIterator, _InIterator,
1699 const _Alloc&, forward_iterator_tag), _S_construct(size_type, _CharT,
1700 const _Alloc&)): Change to use _M_refdata() in place of _M_refcopy().
1701 (_M_mutate): Check for the empty string and treat it as shared.
e6cc3a24
ZW
1702 This is necessary here because _M_mutate is sometimes called with
1703 all-zero arguments; in all other uses of _M_is_shared, the test comes
1704 out right anyhow.
a1af4623 1705
c37514ff
BK
17062003-06-12 Benjamin Kosnik <bkoz@redhat.com>
1707
1708 * src/allocator-inst.cc: Explicitly instantiate.
1709 * include/ext/pool_allocator.h: Inhibit implicit instantiations.
1710 Tweaks.
1711 * config/linker-map.gnu: Add __pool_alloc bits. Tweaks.
a1af4623 1712
58ac1d7f
BK
17132003-06-11 Benjamin Kosnik <bkoz@redhat.com>
1714
1715 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Simplify.
1716 * aclocal.m4: Regenerate.
1717 * Makefile.am (SUBDIRS): Remove libio.
1718 * Makefile.in: Regenerate.
1719 * configure.in: Same.
1720 * configure: Regenerate.
1721 * config/io/basic_file_libio.cc: Remove.
a1af4623 1722 * config/io/basic_file_libio.h: Remove.
58ac1d7f 1723 * config/io/c_io_libio_codecvt.c: Remove.
a1af4623 1724 * config/io/c_io_libio.h: Remove.
58ac1d7f
BK
1725 * libio/*: Remove.
1726 * src/Makefile.am: Same.
1727 * src/Makefile.in: Regenerate.
a1af4623 1728 * docs/html/configopts.html: Edits.
58ac1d7f 1729 * docs/html/explanations.html: Edits.
a1af4623 1730
1ff9402d
BK
17312003-06-11 Benjamin Kosnik <bkoz@redhat.com>
1732
1733 * include/bits/stl_alloc.h (__debug_alloc): Move out.
1734 (__malloc_alloc): Same.
1735 (__pool_alloc): Same.
1736 (__new_alloc): Same.
1737 Rename to..
1738 * include/bits/allocator.h: ...this.
1739 * include/bits/stl_deque.h: Modify comment.
1740 * include/bits/stl_tree.h: Modify include.
1741 * include/std/std_memory.h: Same.
1742 * include/ext/rope: Same.
a1af4623 1743 * include/ext/slist: Same.
1ff9402d
BK
1744 * include/std/std_vector.h: Same.
1745 * include/std/std_stack.h: Same.
1746 * include/std/std_queue.h: Same.
1747 * include/std/std_list.h: Same.
1748 * include/std/std_deque.h: Same.
1749 * include/backward/alloc.h: Same.
1750 * include/ext/debug_allocator.h: New.
a1af4623
AJ
1751 * include/ext/malloc_allocator.h: New.
1752 * include/ext/pool_allocator.h: New.
1ff9402d
BK
1753 * include/ext/new_allocator.h: New.
1754 * include/bits/pthread_allocimpl.h: Remove.
a1af4623 1755 * include/bits/stl_pthread_alloc.h: Remove.
1ff9402d
BK
1756 * include/Makefile.am (ext_headers): Add.
1757 * include/Makefile.in: Regenerate.
1758 * src/stl-inst.cc: Use __gnu_cxx namespace.
1759 * src/stl-inst.cc: Move to...
1760 * src/allocator-inst.cc: Here.
1761 * src/Makefile.am (sources): Update.
1762 * src/Makefile.in: Regenerate.
1763 * config/linker-map.gnu: Remove __pool_alloc bits.
1764 * testsuite/ext/headers.cc: Add.
1765 * testsuite/ext/allocators.cc: Fixup.
a1af4623 1766
1ff9402d 17672003-06-11 Stefan Olsson <stefan@snon.net>
e6cc3a24 1768