libstdc++-v3-dg.exp (libstdc++-v3-init): Use get_multilibs to find gcc.
[gcc.git] / libstdc++-v3 / ChangeLog
1 2001-05-30 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2
3 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Use
4 get_multilibs to find gcc.
5
6 2001-05-30 Phil Edwards <pme@sources.redhat.com>
7
8 * acinclude.m4 (GLIBCPP_ENABLE_C99): Reorder output messages.
9 * aclocal.m4: Regenerate.
10 * configure: Regenerate.
11
12 2001-05-29 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
13
14 * include/c_std/bits/std_cstdlib.h:: Move C99 thingies to __gnu_cxx::.
15 * include/c_std/bits/std_cwchar.h (__gnu_cxx): Likewise.
16
17 2001-05-27 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
18
19 * include/c_std/bits/std_cmath.h: Move C99 functions in __gnu_cxx::.
20 * include/c_std/bits/std_cstdlib.h: Same.
21 * include/c_std/bits/std_cwchar.h: Same.
22
23 2001-05-30 Loren J. Rittle <ljrittle@acm.org>
24
25 * docs/html/17_intro/howto.html: Update link.
26 * docs/html/23_containers/howto.html: Likewise. Add new link.
27
28 2001-05-26 Gabriel Dos Reis <gdr@codesourcery.com>
29
30 * include/c_std/bits/std_cmath.h (sqrt): #undef.
31
32 2001-05-23 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
33
34 * mknumeric_limits: Stop if gen-num-limits dies.
35
36 2001-05-25 Benjamin Kosnik <bkoz@redhat.com>
37
38 other/2931
39 * acinclude.m4 (GLIBCPP_ENABLE_C99): Use AC_TRY_COMPILE.
40 * aclocal.m4: Regenerate.
41 * configure: Same.
42
43 2001-05-24 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
44 Phil Edwards <pme@sources.redhat.com>
45 Alexandre Oliva <aoliva@redhat.com>
46
47 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Set glibcpp_srcdir
48 in an amd-safe manner. Revert glibcpp_prefixdir.
49
50 2001-05-25 Gabriel Dos Reis <gdr@codesourcery.com>
51
52 * include/c_std/bits/std_cmath.h: Tweak. #define away abs, cos,
53 fabs, sin, sqrt. They are now implemented in terms of __builtin_
54 variants.
55
56 2001-05-24 Benjamin Kosnik <bkoz@redhat.com>
57
58 libstdc++/2830
59 * testsuite/21_strings/inserters_extractors.cc (test09): New test.
60 * include/bits/ostream.tcc: Format to match istream.tcc.
61 (operator<<(basic_ostream __out, const basic_string __s)): Fix.
62
63 2001-05-24 Phil Edwards <pme@sources.redhat.com>
64
65 * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Qualify
66 malloc with std:: .
67 (__cxa_free_exception): Likewise with free.
68
69 2001-05-24 Mark Mitchell <mark@codesourcery.com>
70
71 * include/c_std/bin/std_cstring.h: #define away all global
72 functions we will redeclare in namespace `std'.
73 * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Use
74 std::memset, instead of memset.
75 * testsuite/19_diagnostics/stdexceptions.cc: Use `std::strcmp',
76 not plain `strcmp'.
77 * testsuite/21_strings/c_strings.cc: Use `std::strcpy' instead of
78 plain `strcpy'.
79
80 2001-05-24 Benjamin Kosnik <bkoz@redhat.com>
81
82 libstdc++/2832
83 * include/bits/basic_ios.tcc: Small tweak.
84 * include/bits/std_fstream.h (ifstream): Add buffer member. Adjust
85 ctors and dtors, and rdbuf settings.
86 (ofstream): Same.
87 (fstream): Same.
88 * include/bits/std_sstream.h: Same, but for stringstream classes.
89 * testsuite/27_io/ostringstream_members.cc: New.
90 * testsuite/27_io/stringstream_members.cc: New.
91 * testsuite/27_io/fstream_members.cc: New.
92 * testsuite/27_io/ifstream_members.cc: Add test.
93 * testsuite/27_io/istringstream_members.cc: Add test.
94 * testsuite/27_io/ofstream_members.cc: Add test.
95
96 2001-05-24 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
97
98 * include/bits/c++config(__NO_MATH_INLINES): Move to...
99 * config/os/gnu-linux/bits/os_defines.h: ...here.
100
101 2001-05-24 Gabriel Dos Reis <gdr@codesourcery.com>
102
103 * include/bits/c++config (__NO_MATH_INLINES): New macro.
104 * testsuite/26_numerics/fabs_inline.cc (main): New test.
105
106 2001-05-22 Benjamin Kosnik <bkoz@redhat.com>
107
108 libstdc++/2841
109 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set
110 ld_library_path.
111 (libstdc++-v3_set_ld_library_path): New, copied from g++.exp.
112 (libstdc++-v3-finish): Remove.
113 (libstdc++-v3_exit): Remove.
114
115 2001-05-22 Phil Edwards <pme@sources.redhat.com>
116
117 * docs/html/documentation.html: Point to doxygen output.
118
119 2001-05-21 Benjamin Kosnik <bkoz@redhat.com>
120
121 * mkcheck.in (static_fail): Remove S_FLAG decoration on output.
122
123 * include/bits/std_sstream.h (stringbuf::setbuf): Require both
124 arguments to be non-null.
125 * include/bits/fstream.tcc (filebuf::_M_allocate_buffers): Only
126 try allocations if allocated size is greater than zero.
127 (filebuf::_M_filebuf_init): Change to
128 (filebuf::_M_allocate_file): Which is what it does now.
129 (filebuf::_M_allocate_bufers): Change to
130 (filebuf::_M_allocate_internal_buffer): This, and create
131 (filebuf::_M_allocate_pback_buffer): New.
132 (filebuf::_M_destroy_internal_buffer): New.
133 (filebuf::_M_buf_allocated): New data member.
134 (filebuf::setbuf): Use new logic, allow use of external buffer.
135 * testsuite/27_io/stringbuf_virtuals.cc: New file.
136 * testsuite/27_io/filebuf_virtuals.cc: New file.
137
138 2001-05-21 Stephen M. Webb <stephen@bregmasoft.com>
139
140 * include/c_std/bits/std_cstring.h (memchr): Define "C" functions to
141 __glibcpp_memchr.
142 (strchr): Same, but to __glibcpp_strchr.
143 (strpbrk): Same.
144 (strrchr): Same.
145 (strstr): Same.
146 * include/c_std/bits/std_cwchar.h (wcschr): Same.
147 (wcsbrk): Same.
148 (wcsrchr): Same.
149 (wcsstr): Same.
150 (wmemchr): Same.
151
152 2001-05-21 Benjamin Kosnik <bkoz@redhat.com>
153
154 * testsuite/21_strings/c_strings.cc (main): Fix.
155
156 2001-05-19 Phil Edwards <pme@sources.redhat.com>
157
158 * acinclude.m4: Fix --help spacing, correct comments.
159 * aclocal.m4: Regenerate.
160 * configure: Regenerate.
161 * mkcheck.in: Add usage comments.
162 * docs/html/documentation.html: Point to doxygen'd tarball.
163
164 2001-05-18 Benjamin Kosnik <bkoz@redhat.com>
165
166 * testsuite/README: Add notes.
167
168 * src/Makefile.am (libstdc++.INC): Remove.
169 * src/Makefile.in: Regenerate.
170
171 Phil Edwards <pedwards@disaster.jaj.com>
172 * mkcheck.in: Add missing '#'.
173
174 2001-05-18 Angela Marie Thomas <angela@cygnus.com>
175
176 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set flags
177 appropriately for remote testing and testing installed files without
178 a build dir.
179
180 2001-05-18 Benjamin Kosnik <bkoz@redhat.com>
181
182 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Set glibcpp_srcdir
183 amd glibcpp_prefixdir with absolute paths.
184
185 * include/bits/c++config (__GLIBCPP__): Bump.
186 * acinclude.m4 (GLIBCPP_CONFIGURE): Correct version number.
187
188 2001-05-18 Gabriel Dos Reis <gdr@codesourcery.com>
189
190 * include/bits/std_valarray.h (valarray<>::operator[] const):
191 Return a const reference.
192 * testsuite/26_numerics/valarray_const_bracket.cc: New test.
193
194 2001-05-18 Alexandre Oliva <aoliva@redhat.com>
195
196 * configure.target (ATOMICITYH): Actually use AIX-specific code on
197 earlier versions of AIX 4.*.
198
199 2001-05-18 Angela Marie Thomas <angela@cygnus.com>
200
201 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-dg-test): Set
202 output_file based on the name of the testcase.
203
204 2001-05-18 Angela Marie Thomas <angela@cygnus.com>
205
206 * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Build
207 gluefile and use it if needs_status_wrapper is set.
208
209 2001-05-18 Alexandre Oliva <aoliva@redhat.com>
210
211 * configure.target (ATOMICITYH): Use cpu/generic code on earlier
212 versions of AIX.
213
214 2001-05-17 Alexandre Oliva <aoliva@redhat.com>
215
216 * configure.target (ATOMICITYH): Don't use AIX 4.3-specific code
217 on earlier versions of AIX.
218
219 2001-05-15 Benjamin Kosnik <bkoz@redhat.com>
220
221 * testsuite_flags.in (query): Add backwards, ext directories.
222
223 2001-05-15 Mark Mitchell <mark@codesourcery.com>
224
225 * porting.texi: Correct documentation about handling
226 _LARRGEFILE_SOURCE and its ilk.
227 * config/os/solaris/solaris2.5/bits/os_defines.h: Remove
228 definitions of _XOPEN_SOURCE, _LARGEFILE64_SOURCE, and
229 __EXTENSIONS__.
230 * config/os/solaris/solaris2.6/bits/os_defines.h: Likewise.
231 * config/os/solaris/solaris2.7/bits/os_defines.h: Likewise.
232
233 2001-05-15 Zack Weinberg <zackw@stanford.edu>
234
235 * testsuite/21_strings/inserters_extractors.cc,
236 testsuite/27_io/istream_unformatted.cc,
237 testsuite/27_io/stringstream.cc:
238 Replace multi-line string constants with C89-style
239 concatenated string constants.
240
241 2001-05-14 Richard Henderson <rth@redhat.com>
242
243 * mknumeric_limits: Build with -fno-exceptions.
244
245 2001-05-13 Benjamin Kosnik <bkoz@redhat.com>
246
247 Switch over to new harness.
248 * testsuite_flags.in: Tweaks via Gaby.
249 * testsuite/Makefile.am: Change tool to libstdc++-v3.
250 (EXPECT): Quote directly.
251 (RUNTEST): Same.
252 * configure.in: Output testsuite_flags.
253 * acinclude.m4: Substitute src, bld, and prefix dirs.
254 Remove glibcpp_expect, glibcpp_runtestflags.
255 * Makefile.am (RUNTESTFLAGS): Pass this down to subdirs.
256 * mkcheck.in: Port to new interface.
257
258 * aclocal.m4: Regerate.
259 * configure: Regnerate.
260 * Makefile.in: Regnerate.
261 * */Makefile.in: Regenerate.
262
263 * tests_flags.in: Remove.
264 * testsuite/lib/libstdc++.exp: Remove.
265 * testsuite/libstdc++.tests/tests.exp: Remove.
266
267 2001-05-13 Alexandre Oliva <aoliva@redhat.com>
268
269 * configure.target: Remove detection of AIX pthread multilib, now
270 obtained from `gcc -v'.
271
272 2001-05-13 John David Anglin <dave@hiauly1.hia.nrc.ca>
273
274 * mkcheck.in (setup_size_command): Use Berkeley "-B" mode with GNU
275 size. Add hpux case for HP size.
276
277 2001-05-11 Benjamin Kosnik <bkoz@redhat.com>
278
279 * testsuite_flags.in: New, simplified interface.
280 * testsuite/lib/libstdc++-v3-dg.exp: New test harness.
281 * testsuite/libstdc++-v3.dg: Add.
282 * testsuite/libstdc++-v3.dg/dg.exp: Add.
283
284 2001-05-11 Benjamin Kosnik <bkoz@redhat.com>
285
286 * testsuite/*/*.cc: Remove spaces, make sure testcases return zero.
287 * testsuite/config/default.exp: Update bugs email address.
288
289 2001-05-11 Richard Henderson <rth@redhat.com>
290
291 * libsupc++/eh_personality.cc: Include unwind-pe.h. Remove
292 all pointer encoding logic.
293 (struct lsda_header_info): Add ttype_base.
294 (get_ttype_entry): Use it instead of a context.
295 (check_exception_spec): Likewise.
296 (PERSONALITY_FUNCTION): Initialize ttype_base. Store it in
297 the c++ exception header for __cxa_call_unexpected.
298 (__cxa_call_unexpected): Use it.
299
300 2001-05-09 Benjamin Kosnik <bkoz@redhat.com>
301
302 * testsuite/lib/libstdc++.exp: Use libgloss.exp. Call
303 libgloss_link_flags to find crt0.o for targets that use libgloss
304 instead of newlib.
305 Change LDFLAGS to LIBS.
306 Consistently name procedures libstdc++-XXX.
307 * testsuite/libstdc++.tests/tests.exp: Use new procedure names.
308
309 2001-05-08 Benjamin Kosnik <bkoz@fillmore.constant.com>
310
311 * include/c_std/bits/std_cstring.h (memchr): Correct definitions.
312 (strchr): Same.
313 (strpbrk): Same.
314 (strrchr): Same.
315 (strstr): Same.
316 * include/c_std/bits/std_cwchar.h (wcschr): Same.
317 (wcsbrk): Same.
318 (wcsrchr): Same.
319 (wcsstr): Same.
320 (wmemchr): Same.
321 * testsuite/21_strings/c_strings.cc: Add tests.
322
323 2001-05-07 Benjamin Kosnik <bkoz@redhat.com>
324
325 libstdc++/2523
326 * include/bits/std_fstream.h (basic_filebuf): Change signature.
327 * include/bits/fstream.tcc (basic_filebuf): Change bool argument
328 to int_type, pass in buffer size info.
329 * include/bits/std_streambuf.h (_M_is_indeterminate): Check for
330 unbuffered situation.
331 (underflow): Remove codecvt bits for the time being.
332 * include/bits/istream.tcc (istream::sentry): Avoid sputbackc call.
333 * include/bits/locale_facets.tcc (_M_extract): Cache dereference
334 values from iterators, clean.
335 * src/locale.cc: Ditto.
336 * include/bits/sbuf_iter.h: Format.
337 * src/ios.cc: Explicitly pass in buffer sizes at creation time.
338 * testsuite/27_io/narrow_stream_objects.cc: Add tests.
339 * testsuite/27_io/filebuf.cc: Tweaks.
340 * testsuite/27_io/filebuf_members.cc: Tweaks.
341
342 2001-05-07 Mark Mitchell <mark@codesourcery.com>
343
344 * config/os/solaris/solaris2.7/bits/os_defines.h
345 (_LARGEFILE_SOURCE): Define it.
346
347 2001-05-03 Alexandre Oliva <aoliva@redhat.com>
348
349 * configure.in (LIBSUPCXX_PICFLAGS): Set it to -prefer-pic or
350 -prefer-non-pic depending on whether libtool has shared libraries
351 enabled or disabled.
352 * libsupc++/Makefile.am (LIBSUPCXX_CXXFLAGS): Set to
353 $(LIBSUPCXX_PICFLAGS).
354 * configure, */Makefile.in: Rebuilt.
355
356 2001-05-01 Benjamin Kosnik <bkoz@redhat.com>
357
358 * include/bits/sbuf_iter.h (istreambuf_iterator): Correct.
359 * testsuite/24_iterators/istreambuf_iterator.cc (test02): Add test.
360
361 * include/bits/std_sstream.h (stringbuf): Leak
362 copied string.
363 * testsuite/24_iterators/ostreambuf_iterator.cc: Correct.
364
365 2001-05-01 Tom Browder <tbrowder@home.com>
366
367 * docs/html/ext/howto.html: Fix typo.
368
369 2001-05-01 Gabriel Dos Reis <gdr@codesourcery.com>
370
371 * testsuite/libstdc++.tests/tests.exp: Add comment.
372
373 2001-05-01 Gabriel Dos Reis <gdr@codesourcery.com>
374
375 * testsuite/libstdc++.tests/tests.exp: Set ulimits.
376
377 2001-04-30 Mark Mitchell <mark@codesourcery.com>
378
379 * porting.texi: Use the GFDL.
380
381 2001-04-30 Benjamin Kosnik <bkoz@redhat.com>
382
383 libstdc++/2627
384 * testsuite/24_iterators/ostreambuf_iterator.cc: New file.
385 * include/bits/sbuf_iter.h (ostreambuf_iterator): Remove bogus
386 specializations.
387
388 2001-04-30 Benjamin Kosnik <bkoz@redhat.com>
389
390 libstdc++/2964
391 * include/bits/stl_iterator_base_funcs.h (__advance): Fix.
392
393 2001-04-28 Phil Edwards <pme@sources.redhat.com>
394
395 * docs/doxygen/run_doxygen: Minor tweaks.
396 * docs/doxygen/style.css: New file.
397 * docs/doxygen/user.cfg.in: Update using "doxygen -u" to get the
398 latest parameters available. Use style.css.
399
400 2001-04-27 Benjamin Kosnik <bkoz@redhat.com>
401
402 * docs/doxygen/mainpage.doxy: New.
403 * docs/doxygen/user.cfg.in: Change default configuration. Single
404 frame, other tweaks.
405
406 2001-04-26 Mark Mitchell <mark@codesourcery.com>
407
408 * docs/html/17_intro/BADNAMES: Remove EGCS reference.
409 Indicate obsolete nature of thelist for G++ 3.0.
410
411 2001-04-26 Alexandre Oliva <aoliva@redhat.com>
412
413 * acinclude.m4 (GLIBCPP_ENABLE_THREADS): Obtain
414 target_thread_file with `gcc -v'.
415 * aclocal.m4, configure: Rebuilt.
416
417 2001-04-25 Benjamin Kosnik <bkoz@redhat.com>
418
419 * include/c_std/bits/std_cmath.h (std): Explicitly inject c99 names.
420 * include/c_std/bits/std_cstdlib.h (std): Same, except for llabs.
421 * include/c_std/bits/std_cwchar.h (std): Same.
422 * acconfig.h (std): Remove c99 injection into std.
423 * config.h.in: Regenerate.
424
425 * testsuite/README: Fix typo.
426
427 * include/bits/codecvt.h: Remove warnings.
428
429 2001-04-24 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
430
431 * include/ext/slist: Include required header files.
432
433 2001-04-23 Loren J. Rittle <ljrittle@acm.org>
434
435 * include/c_std/bits/std_cerrno.h (errno): Define macro from
436 identifier declared with external linkage, if needed.
437 * include/c_std/bits/std_csetjmp.h (setjmp): Likewise.
438 * include/c_std/bits/std_cstdarg.h (va_end): Likewise.
439
440 2001-04-23 Benjamin Kosnik <bkoz@fillmore.constant.com>
441
442 * acinclude.m4 (CXX): Set to glibcpp_CXX so that in-directory
443 re-configures find the build compiler.
444 (GLIBCPP_ENABLE_C99): Do all fp-tests with 0.0, not 0. Fixes
445 libstdc++/2609.
446 * aclocal.m4: Regenerate.
447 * configure: Regenerate.
448
449 2001-04-20 Benjamin Kosnik <bkoz@redhat.com>
450
451 * acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Make sure required C99
452 support is enabled correctly before long long is activated.
453 * aclocal.m4: Regenerate.
454 * configure: Regenerate.
455
456 * include/backward/backward_warning.h: Format correctly.
457
458 * testsuite/26_numerics/c99_classification_macros_c.cc: Add.
459 * testsuite/26_numerics/c99_classification_macros_c++.cc: Add.
460 * testsuite/26_numerics/c99_macros.cc: Remove.
461
462 2001-04-20 Phil Edwards <pme@sources.redhat.com>
463
464 * include/bits/stl_bvector.h: Replace __ITERATOR_CATEGORY with
465 __iterator_category.
466
467 2001-04-19 Benjamin Kosnik <bkoz@redhat.com>
468
469 * acconfig.h (_GLIBCPP_USE_C99): Add.
470 * config.h.in: Regenerate.
471 * acinclude.m4 (GLIBCPP_ENABLE_C99): New macro. Test for ISO/IEC
472 9899: 1999 support.
473 * aclocal.m4: Regenerate.
474 * configure.in (GLIBCPP_ENABLE_C99): Use it, on by default.
475 * configure: Regenerate.
476 * configure.in (GLIBCPP_ENABLE_LONG_LONG): Set default to yes.
477 * configure: Regenerate.
478 * include/c_std/bits/std_cwchar.h: Put wcstold, wcstoll, wcstoull
479 into c99.
480 * include/c_std/bits/std_cmath.h: Bring C99 functions into c99
481 namespace.
482 * include/c_std/bits/std_cstdlib.h: Same.
483 * docs/html/configopts.html: Update.
484 * testsuite/26_numerics/c99_macros.cc: Edit, use cmath instead of
485 math.h
486 (test_c99_classify): Add.
487 * config/os/gnu-linux/bits/os_defines.h (_GNU_SOURCE): Remove.
488 (_ISOC99_SOURCE): Remove.
489
490 * include/bits/stl_algo.h: Use _GLIBCPP_HAVE_DRAND48.
491 * include/bits/c++config (__STL_ASSERTIONS): Simplify.
492 * acinclude.m4 (GLIBCPP_CHECK_STDLIB_SUPPORT): Add check for drand48.
493 * aclocal.m4: Regenerate.
494 * configure: Regenerate.
495
496 2001-04-19 Phil Edwards <pme@sources.redhat.com>
497
498 * Makefile.am (doxygen): Assume script is missing execute perms.
499 * Makefile.in: Regenerated.
500 * docs/doxygen/user.cfg.in: Add class diagrams and source browsing.
501
502 2001-04-17 Loren J. Rittle <ljrittle@acm.org>
503
504 * testsuite/27_io/istream_seeks.cc: Inform DejaGnu of required files.
505
506 2001-04-17 Benjamin Kosnik <bkoz@redhat.com>
507
508 * testsuite/23_containers/map_operators.cc: Add dg-excess-errors.
509 * testsuite/23_containers/set_operators.cc: Same.
510
511 * include/bits/c++config: Add _GLIBCPP_CONCEPT_CHECKS. Disable by
512 default.
513 (__GLIBCPP__): Bump from value of last release.
514 * include/bits/concept_check.h: Default to off, edit comments.
515 * src/stl-inst.cc: Use _GLIBCPP_CONCEPT_CHECKS.
516 * src/Makefile.am (AM_CXXFLAGS): Remove _GLIBCPP_NO_CONCEPT_CHECKS.
517 * src/Makefile.in: Regenerate.
518
519 2001-04-14 Martin Reinecke <martin@MPA-Garching.MPG.DE>
520
521 * include/bits/boost_concept_check.h(_Mutable_ContainerConcept):
522 Properly uglify member.
523
524 2001-04-13 Phil Edwards <pme@sources.redhat.com>
525
526 * include/bits/stl_algobase.h (equal): Use EqualOpConcept instead
527 of EqualityCo
528 mparableConcept.
529
530 2001-04-13 Phil Edwards <pme@sources.redhat.com>
531
532 * include/bits/boost_concept_check.h: Uglify, fork from Boost.
533 * include/bits/concept_check.h: Uglify.
534 * include/bits/stl_algo.h: Likewise.
535 * include/bits/stl_algobase.h: Likewise.
536 * include/bits/stl_deque.h: Likewise.
537 * include/bits/stl_heap.h: Likewise.
538 * include/bits/stl_iterator_base_funcs.h: Likewise.
539 * include/bits/stl_list.h: Likewise.
540 * include/bits/stl_map.h: Likewise.
541 * include/bits/stl_multimap.h: Likewise.
542 * include/bits/stl_multiset.h: Likewise.
543 * include/bits/stl_numeric.h: Likewise.
544 * include/bits/stl_queue.h: Likewise.
545 * include/bits/stl_set.h: Likewise.
546 * include/bits/stl_stack.h: Likewise.
547 * include/bits/stl_vector.h: Likewise.
548 * include/ext/hash_map: Likewise.
549 * include/ext/hash_set: Likewise.
550 * include/ext/slist: Likewise.
551
552 2001-04-13 Gabriel Dos Reis <gdr@codesourcery.com>
553
554 * testsuite/23_containers/set_operators.cc: Just try to compile.
555 Mark as XFAIL.
556 * testsuite/23_containers/map_operators.cc: Same.
557
558 2001-04-12 Jason Merrill <jason_merrill@redhat.com>
559
560 * testsuite/lib/libstdc++.exp (libstdc++-dg-test): Prepend "./" to
561 output_file.
562 (dg-test): Revert rth's change.
563
564 2001-04-12 Nathan Sidwell <nathan@codesourcery.com>
565
566 * libsupc++/eh_alloc.cc (__cxa_allocate_exception): Don't
567 terminate holding the mutex. Make sure size fits in EMERGENCY_OBJ_SIZE.
568
569 2001-04-12 Gabriel Dos Reis <gdr@codesourcery.com>
570
571 * testsuite/README: Add DejaGnu specific documentation.
572
573 2001-04-11 Benjamin Kosnik <bkoz@redhat.com>
574
575 * acinclude.m4: AC_CHECK_TOOL for expect.
576 * aclocal.m4: Regenerate.
577 * configure: Regenerate.
578 * testsuite/Makefile.am (RUNTEST): Use substituted.
579 (EXPECT): Same.
580
581 * configure.in: Remove xcompiling substitution.
582 * tests_flags.in (CROSS_LIB_PATH): Remove.
583 (xcompiling): Remove.
584 (CXX): Use substituted CXX.
585
586 2001-04-11 Richard Henderson <rth@redhat.com>
587
588 * testsuite/lib/libstdc++.exp: Specify path for output_file.
589
590 2001-04-08 Gabriel Dos Reis <gdr@codesourcery.com>
591
592 * include/bits/std_valarray.h(valarray<>::operator[]): Make
593 inline.
594
595 2001-04-06 Gabriel Dos Reis <gdr@codesourcery.com>
596
597 * testsuite/25_algorithms/equal.cc: New test.
598
599 2001-04-06 Joe Buck <jbuck@welsh-buck.org>
600
601 * stl_algobase.h (std::equal): avoid use of possibly-undefined
602 operator != (one line patch).
603
604 2001-04-06 Benjamin Kosnik <bkoz@redhat.com>
605
606 * include/backward/backward_warning.h: Re-enable.
607
608 2001-04-06 Benjamin Kosnik <bkoz@redhat.com>
609 Alexandre Oliva <aoliva@redhat.com>
610
611 * tests_flags.in (CROSS_LIB_PATH): Add as -B flag.
612
613 2001-04-06 Gabriel Dos Reis <gdr@codesourcery.com>
614
615 * include/c_std/bits/std_cmath.h: Get rid of C99 math macros.
616 * testsuite/26_numerics/c99_macros.cc: Add test.
617
618 2001-04-06 Phil Edwards <pme@sources.redhat.com>
619
620 * docs/html/faq/index.html: Update for 2.92, grab from RELEASE-NOTES.
621 * docs/html/faq/index.txt: Regenerated.
622
623 2001-04-06 Benjamin Kosnik <bkoz@redhat.com>
624
625 * include/backward/backward_warning.h: Temporarily disable until
626 g++ testsuite changes go in.
627 * tests_flags.in (CROSS_LIB_PATH): Add.
628
629 2001-04-05 Benjamin Kosnik <bkoz@redhat.com>
630
631 Warn when using backward headers.
632 * include/backward/algo.h: Include warning file.
633 * include/backward/vector.h: Same.
634 * include/backward/tree.h: Same.
635 * include/backward/tempbuf.h: Same.
636 * include/backward/strstream: Same.
637 * include/backward/streambuf.h: Same.
638 * include/backward/stream.h: Same.
639 * include/backward/stack.h: Same.
640 * include/backward/slist.h: Same.
641 * include/backward/set.h: Same.
642 * include/backward/rope.h:
643 * include/backward/queue.h: Same.
644 * include/backward/pair.h: Same.
645 * include/backward/ostream.h: Same.
646 * include/backward/new.h: Same.
647 * include/backward/multiset.h: Same.
648 * include/backward/multimap.h: Same.
649 * include/backward/map.h: Same.
650 * include/backward/list.h: Same.
651 * include/backward/iterator.h: Same.
652 * include/backward/istream.h: Same.
653 * include/backward/iostream.h:
654 * include/backward/iomanip.h:
655 * include/backward/heap.h: Same.
656 * include/backward/hashtable.h:
657 * include/backward/hash_set.h:
658 * include/backward/hash_map.h:
659 * include/backward/function.h:
660 * include/backward/fstream.h:
661 * include/backward/deque.h:
662 * include/backward/defalloc.h: Same.
663 * include/backward/complex.h: Same.
664 * include/backward/bvector.h:
665 * include/backward/alloc.h:
666 * include/backward/algobase.h: Same.
667
668 * include/backward/backward_warning.h: New file.
669 * src/Makefile.am (backward_headers): Add backward_warning.h
670 * src/Makefile.in: Regenerate.
671
672 2001-04-05 Benjamin Kosnik <bkoz@redhat.com>
673
674 * src/Makefile.am (myinstalldirs): Make sure backward directory is
675 created.
676 (myinstallheaders): Install backward headers in backward directory.
677 * src/Makefile.in: Regenerate.
678
679 2001-04-05 Benjamin Kosnik <bkoz@redhat.com>
680
681 Prepare for libstdc++-2.92.
682 * docs/html/17_intro/RELEASE-NOTES (New): Update.
683 * docs/html/configopts.html: Fix formatting.
684 * README (file): Updates.
685 * include/bits/c++config (__GLIBCPP__): Update.
686
687 2001-04-05 Phil Edwards <pme@sources.redhat.com>
688
689 * docs/doxygen/run_doxygen: Check for the existence of Doxygen.
690
691 2001-04-04 Phil Edwards <pme@sources.redhat.com>
692
693 * docs/doxygen/user.cfg.in: Extract all non-private members;
694 reduce confusing documentation output.
695
696 2001-04-04 Geoffrey Keating <geoffk@redhat.com>
697
698 * include/backward/fstream.h: Add missing semicolons.
699
700 2001-04-03 Benjamin Kosnik <bkoz@redhat.com>
701
702 * include/bits/fstream.tcc: Add bool parameter to filebuf ctor.
703 * include/bits/ios_base.h(ios_base::Init): Remove _M_cout, _M_cin,
704 _M_cerr, _M_wcout, _M_wcin, _M_wcerr.
705 (ios_base::Init::_S_ios_create): New.
706 (ios_base::Init::_S_ios_destroy): New.
707 * include/bits/std_fstream.h: Change ctor args.
708 * src/ios.cc (ios_base::Init::Init): Use _S_ios_create.
709 (ios_base::Init::~Init): Use _S_ios_destroy.
710 (ios_base::sync_with_stdio): Use new members.
711 * testsuite/27_io/filebuf_members.cc: Fix calling conventions for
712 filebuf ctor.
713
714 2001-04-03 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
715
716 * include/backward/fstream.h: Expose streampos to global
717 namespace.
718
719 2001-04-03 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
720
721 * include/bits/stl_iterator_base_types.h: Fix typo
722
723 2001-04-03 Andreas Schwab <schwab@suse.de>
724
725 * include/backward/fstream.h: Define filebuf and wfilebuf.
726
727 2001-04-02 Phil Edwards <pme@sources.redhat.com>
728
729 New concept checking implementation.
730 * docs/html/19_diagnostics/howto.html: Document.
731 * docs/html/17_intro/concept_check.diff: New file, for reference.
732 * include/bits/boost_concept_check.h: New file from Boost.
733 * include/bits/c++config: Update comments.
734
735 * include/bits/concept_check.h: New file.
736 * include/bits/concept_checks.h: Removed.
737 * include/bits/container_concepts.h: Removed.
738 * include/bits/sequence_concepts.h: Removed.
739 * include/bits/stl_iterator_base.h: Removed; split into...
740 * include/bits/stl_iterator_base_funcs.h: ...this new file...
741 * include/bits/stl_iterator_base_types.h: ...and this new file.
742
743 * include/bits/sbuf_iter.h: Update to use new implementation.
744 * include/bits/std_iterator.h: Likewise.
745 * include/bits/std_memory.h: Likewise.
746 * include/bits/stl_algo.h: Likewise.
747 * include/bits/stl_algobase.h: Likewise.
748 * include/bits/stl_construct.h: Likewise.
749 * include/bits/stl_deque.h: Likewise.
750 * include/bits/stl_heap.h: Likewise.
751 * include/bits/stl_list.h: Likewise.
752 * include/bits/stl_map.h: Likewise.
753 * include/bits/stl_multimap.h: Likewise.
754 * include/bits/stl_multiset.h: Likewise.
755 * include/bits/stl_numeric.h: Likewise.
756 * include/bits/stl_queue.h: Likewise.
757 * include/bits/stl_set.h: Likewise.
758 * include/bits/stl_stack.h: Likewise.
759 * include/bits/stl_uninitialized.h: Likewise.
760 * include/bits/stl_vector.h: Likewise.
761 * include/ext/hash_map: Likewise.
762 * include/ext/hash_set: Likewise.
763 * include/ext/slist: Likewise.
764 * include/ext/stl_hashtable.h: Likewise.
765
766 * src/Makefile.am (base_headers): Update list of headers.
767 * Makefile.in: Regenerated.
768 * src/Makefile.in: Regenerated.
769 * libio/Makefile.in: Regenerated.
770 * libmath/Makefile.in: Regenerated.
771 * libsupc++/Makefile.in: Regenerated.
772 * testsuite/Makefile.in: Regenerated.
773
774 * docs/html/install.html: Update contact information.
775 * docs/html/17_intro/howto.html: Ditto.
776 * docs/html/18_support/howto.html: Ditto.
777 * docs/html/20_util/howto.html: Ditto.
778 * docs/html/21_strings/howto.html: Ditto.
779 * docs/html/22_locale/howto.html: Ditto.
780 * docs/html/23_containers/howto.html: Ditto.
781 * docs/html/24_iterators/howto.html: Ditto.
782 * docs/html/25_algorithms/howto.html: Ditto.
783 * docs/html/26_numerics/howto.html: Ditto.
784 * docs/html/27_io/howto.html: Ditto.
785 * docs/html/faq/index.html: Ditto, plus info on new checking code.
786 * docs/html/ext/howto.html: Ditto, plus info on new checking code.
787 * docs/html/faq/index.txt: Regenerated.
788
789 2001-04-02 Zack Weinberg <zackw@stanford.edu>
790
791 * testsuite/lib/libstdc++.exp (dg-test): Annotate result
792 messages with $which_library as well as $tool_flags and
793 ${dg-extra-tool-flags}. Factor out annotation text into
794 a single variable.
795
796 2001-04-02 Stephen M. Webb <stephen@bregmasoft.com>
797
798 * include/c_std/bits/std_cstring.h: Fix for const-correctness.
799 * include/c_std/bits/std_cwchar.h: Same.
800 * testsuite/21_strings/c_strings.cc: Add.
801
802 2001-04-01 Benjamin Kosnik <bkoz@codesourcery.com>
803
804 * docs/html/configopts.html: Add --enable-sjlj-exceptions docs.
805
806 2001-04-01 Zack Weinberg <zackw@stanford.edu>
807
808 * tests_flags.in: Use test a = b, not test a == b which is not
809 portable.
810
811 2001-03-31 Benjamin Kosnik <bkoz@redhat.com>
812
813 * configure.target: Remove duplicate aix entry.
814
815 2001-03-30 Benjamin Kosnik <bkoz@redhat.com>
816
817 * include/ext/stl_bvector.h: Move to...
818 * include/bits/stl_vector.h: ...here.
819 * include/ext/bvector: Move to...
820 * include/backward/bvector.h: ...here.
821 * include/bits/std_vector.h: Change stl_bvector include.
822 * include/bits/std_queue.h: Remove bvector include.
823 * include/ext/tree: Insert using rb_tree, move to...
824 * include/backward/tree.h: ...here.
825 * include/backward/hash_map.h: Include ext/hash_map.
826 * include/backward/hash_set.h: Include ext/hash_set.
827 * include/backward/queue.h: New file.
828 * include/backward/stack.h: Edit.
829 * include/backward/algo.h: Same.
830 * include/backward/algobase.h: Same.
831 * include/backward/alloc.h: Same.
832 * include/backward/function.h: Same.
833 * include/backward/iomanip.h: Same.
834 * include/backward/istream.h: Same.
835 * include/backward/iterator.h: Same.
836 * include/backward/list.h: Same.
837 * include/backward/map.h: Same.
838 * include/backward/multimap.h: Same.
839 * include/backward/multiset.h: Same.
840 * include/backward/ostream.h: Same.
841 * include/backward/pair.h: Same
842 * include/backward/rope.h: Same.
843 * include/backward/set.h: Same.
844 * include/backward/stream.h: Same.
845 * include/backward/strstream.h: Same.
846 * include/backward/tempbuf.h: Same.
847 * src/Makefile.am (ext_headers): Edit.
848 * src/Makefile.in: Regenerate.
849 * testsuite/ext/headers.cc (main): Fix.
850 * mkcheck.in: Fix.
851
852 2001-03-30 Phil Edwards <pme@sources.redhat.com>
853
854 * tests_flags.in (LIBS): Pass correct path for installed testing.
855
856 2001-03-28 Benjamin Kosnik <bkoz@redhat.com>
857
858 * mkcheck.in (LIBTOOL): Don't construct -B argument here...
859 * tests_flags.in (CXX): Construct here.
860 (static_fail): Don't remove compile.out. Format with spaces.
861 (INCLUDES): Deal with xcompiling.
862 * configure.in (xcompiling): Substitute.
863 * testsuite/Makefile.am: Snake libjava configury.
864 * testsuite/Makefile.in: Regenerate.
865 * testsuite/23_containers/map_operators.cc: Tweaks.
866 * testsuite/23_containers/set_operators.cc: Tweaks.
867
868 2001-03-28 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
869
870 Enable dejagnu testing framework.
871 * configure.in: Generate testsuite/Makefile.
872 * configure: Regenerate.
873 * Makefile.am (check-install): Change rule from this...
874 (check-script-install): ...to this.
875 (check): Change rule from this...
876 (check-script):...to this.
877 * Makefile.in: Regenerate.
878
879 2001-03-28 Alexandre Oliva <aoliva@redhat.com>
880
881 * libsupc++/Makefile.am (CXXLINK): Add --tag disable-shared after
882 --tag CXX.
883 (LIBTOOL): Let automake take care of its definition.
884 * libsupc++/Makefile.in: Rebuilt.
885
886 2001-03-28 Richard Henderson <rth@redhat.com>
887
888 IA-64 ABI Exception Handling:
889 * acinclude.m4 (GLIBCPP_ENABLE_SJLJ_EXCEPTIONS): New.
890 * configure.in: Use it.
891 * Makefile.in, aclocal.m4, config.h.in, configure: Regenerate.
892 * libsupc++/Makefile.am (sources): Update files list.
893 * libsupc++/Makefile.in: Regenerate.
894 * libsupc++/eh_alloc.cc, libsupc++/eh_aux_runtime.cc: New files.
895 * libsupc++/eh_catch.cc, libsupc++/eh_exception.cc: New files.
896 * libsupc++/eh_globals.cc, libsupc++/eh_personality.cc: New files.
897 * libsupc++/eh_terminate.cc, libsupc++/eh_throw.cc: New files.
898 * libsupc++/exception_support.cc: Remove.
899 * libsupc++/exception_support.h: Remove.
900 * libsupc++/pure.cc: Use std::terminate.
901 * libsupc++/tinfo2.cc (__throw_type_match_rtti_2): Remove.
902 (__is_pointer): Remove.
903 * libsupc++/unwind-cxx.h: New file.
904 * libsupc++/vec.cc (uncatch_exception): Update for new abi.
905
906 2001-03-27 Alexandre Oliva <aoliva@redhat.com>
907
908 * libsupc++/Makefile.am (CXXLINK): Use CXX again, and choose
909 CXX tag explicitly.
910 * src/Makefile.am (CXXLINK): Likewise.
911 * libsupc++/Makefile.in, src/Makefile.in: Rebuilt.
912
913 2001-03-27 Benjamin Kosnik <bkoz@redhat.com>
914
915 * include/bits/c++config (_STL_USE_CONCEPT_CHECKS): Disable by default.
916
917 2001-03-26 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
918
919 * libstdc++-v3/tests_flags.in: Change the order of libstdc++
920 and libc
921
922 2001-03-26 Benjamin Kosnik <bkoz@redhat.com>
923
924 * include/bits/basic_file.h (get_fileno): Remove.
925 (_M_fileno): Remove.
926 (_M_cfile_created): Add.
927 (basic_file::basic_file(__c_file_type*, openmode): Add.
928 (basic_file::basic_file(int, const char*, openmode): Remove.
929 * include/bits/fstream.tcc (basic_fstream::basic_filebuf(int __fd,
930 const char*, ios_base::openmode): Don't allocate
931 internal buffers. Turn off internal buffers.
932 (basic_filebuf::overflow): Remove test for null buffer.
933 (basic_filebuf::_M_really_overflow): Same. Allow unbuffered use.
934 * include/bits/streambuf.cc: Tweak.
935 * include/bits/std_ostream.h: Tweak.
936 * config/basic_file_libio.h: Same.
937 * config/basic_file_stdio.h: Same.
938 * src/ios.cc (ios_base::Init::Init()): Unbuffer stdout by default.
939 * testsuite/27_io/filebuf_members.cc: Tweaks.
940 * testsuite/27_io/ios_base_members_static.cc: Tweaks.
941
942 2001-03-24 Phil Edwards <pme@sources.redhat.com>
943
944 * Makefile.am: New targets, doxygen and doxygen-maint.
945 * Makefile.in: Regenerated.
946 * docs/doxygen/run_doxygen: Finally implemented.
947 * docs/doxygen/maint.cfg.in: New file.
948 * docs/doxygen/user.cfg.in: New file.
949
950 2001-03-24 Phil Edwards <pme@sources.redhat.com>
951
952 * acinclude.m4 (GLIBCPP_CHECK_COMPILER_FEATURES): Update comment.
953 * src/Makefile.am: Replace leading spaces with tabs on continuation
954 lines.
955 * aclocal.m4: Regenerated.
956 * configure: Ditto.
957 * Makefile.in: Ditto.
958 * src/Makefile.in: Ditto.
959 * libio/Makefile.in: Ditto.
960 * libmath/Makefile.in: Ditto.
961 * libsupc++/Makefile.in: Ditto.
962
963 2001-03-24 Phil Edwards <pme@sources.redhat.com>
964
965 * docs/html/19_diagnostics/howto.html: HTML fixup. Describe
966 concept-checking code and current status of same.
967 * docs/html/ext/howto.html: Ditto.
968 * docs/html/faq/index.html: Ditto.
969 * docs/html/faq/index.txt: Regenerated.
970
971 2001-03-24 Phil Edwards <pme@sources.redhat.com>
972
973 * include/bits/std_bitset.h: Include ostream and istream headers
974 instead of iostream.
975
976 2001-03-22 Greg Bumgardner <bumgard@roguewave.com>
977
978 * include/bits/ostream.tcc: Use __builtin_alloca.
979
980 2001-03-22 Benjamin Kosnik <bkoz@redhat.com>
981
982 * src/misc-inst.cc (__sink_unused_warning): Move to...
983 * src/locale-inst.cc (__sink_unused_warning): Move to...
984 * src/stl-inst.cc: Here.
985 * include/bits/c++config (_STL_NO_CONCEPT_CHECKS): Add define,
986 commented it out.
987
988 2001-03-21 Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr>
989
990 * intclude/bits/basic_file.h: Fix typos in comments.
991
992 2001-03-20 Richard Henderson <rth@redhat.com>
993
994 * src/gen-num-limits.cc: Instantiate for wchar_t.
995 * config/os/aix/bits/ctype_base.h (mask): Use unsigned int.
996
997 2001-03-20 Jason Merrill <jason@redhat.com>
998
999 * libsupc++/vec.cc (__cxa_vec_cleanup): New fn.
1000 (__cxa_vec_ctor, __cxa_vec_cctor, __cxa_vec_dtor): Call it.
1001 * libsupc++/cxxabi.h: Declare it.
1002
1003 2001-03-16 Alexandre Oliva <aoliva@redhat.com>
1004
1005 * src/gen-num-limits.cc (signal_adapter): Overloaded to match
1006 signal_func with an unspecified argument list.
1007
1008 2001-03-15 Benjamin Kosnik <bkoz@redhat.com>
1009
1010 * tests_flags.in (CXXFLAGS): Link libstdc++ before libsupc++.
1011
1012 2001-03-15 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1013
1014 * include/bits/basic_string.tcc (operator+): Fix thinko.
1015
1016 2001-03-14 Benjamin Kosnik <bkoz@redhat.com>
1017
1018 libstdc++/2020
1019 * include/bits/std_streambuf.h: Remove cached locale facets.
1020 (basic_streambuf::_M_buf_fctype): Remove.
1021 (basic_streambuf::~basic_streambuf): Remove here.
1022 (basic_streambuf::basic_streambuf): Same.
1023 (basic_streambuf::imbue): Same.
1024 * include/bits/fstream.tcc (filebuf::imbue): Remove _M_buf_fctype.
1025 * include/bits/std_fstream.h (basic_filebuf::_M_fcvt): Remove.
1026 (basic_filebuf::~basic_filebuf()): Remove here.
1027 * include/bits/fstream.tcc (basic_filebuf::basic_filebuf): Same.
1028 (basic_filebuf::imbue): Same.
1029 * include/bits/localefwd.h (_Count_ones): Remove.
1030 (locale::_S_num_categories): Just use 6, since this doesn't
1031 actually change, ever.
1032 * include/bits/locale_facets.tcc (has_facet): Simplify.
1033 (use_facet): Same.
1034 * testsuite/27_io/filebuf.cc (test06): Add tests.
1035
1036 2001-03-13 Steve Ellcey <sje@cup.hp.com>
1037
1038 * libstdc++-v3/config/os/hpux/bits/ctype_base.h: Make ctype masks
1039 match HP-UX ctype.h header file.
1040
1041 2001-03-13 Andris Pavenis <pavenis@latnet.lv>
1042
1043 * config/djgpp/bits/ctype_noninline.h: Fix typo and remove
1044 duplicate definitions of __dj_ctype_*
1045
1046 2001-03-13 Benjamin Kosnik <bkoz@redhat.com>
1047
1048 * libsupc++/new: Remove pragma interface.
1049 * libsupc++/typeinfo: Same.
1050 * libsupc++/exception: Same.
1051 * libsupc++/new_handler.cc: Remove pragma implementation.
1052 (bad_alloc::~bad_alloc()): Add.
1053 * libsupc++/exception_support.cc: Same.
1054 (exception::~exception): Add.
1055 (bad_exception::~bad_exception): Add.
1056 * libsupc++/tinfo.cc: Same.
1057 (bad_cast::~bad_cast): Add.
1058 (bad_typeid::~bad_typeid): Add.
1059
1060 2001-03-13 Phil Edwards <pme@sources.redhat.com>
1061
1062 * mkcheck.in: Fix IFS regression for non-bash-2.01 hosts.
1063
1064 2001-03-12 Felix Lee <flee@redhat.com>
1065
1066 * mkcheck.in: workaround for bash 2.01 IFS bug.
1067
1068 2001-03-12 Benjamin Kosnik <bkoz@redhat.com>
1069
1070 Fixups for -fno-for-scope
1071 * include/bits/locale_facets.tcc (__match_parallel): Fixup.
1072 * src/valarray-inst.cc (__gslice_to_index): Same.
1073
1074 2001-03-12 Rodney Brown <RodneyBrown@mynd.com>
1075
1076 * src/gen-num-limits.cc (traps) [SPECIALIZE_TRAPPING]: Add fflush
1077 prior to trapping signal (UnixWare 7 workaround).
1078
1079 2001-03-12 Craig Rodrigues <rodrigc@mediaone.net>
1080
1081 * include/backward/hashtable.h: Same.
1082 * include/backward/rope.h: Fix include.
1083
1084 2001-03-12 Benjamin Kosnik <bkoz@redhat.com>
1085
1086 * include/backward/vector.h: Include std_vector.h.
1087
1088 * include/bits/istream.tcc (basic_istream<_CharT, _Traits>&
1089 operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s)):
1090 Fix typo.
1091
1092 2001-03-11 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1093
1094 * include/ext/stl_hashtable.h: Change type of __n to size_t
1095 * include/backward/bvector.h: Include <ext/stl_bvector.h>
1096
1097 2001-03-09 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1098
1099 * include/bits/istream.tcc ( basic_istream<_CharT, _Traits>&
1100 operator>>(basic_istream<_CharT, _Traits>& __in, _CharT* __s)):
1101 Use streamsize, not int_type.
1102
1103 2001-03-08 Benjamin Kosnik <bkoz@redhat.com>
1104
1105 * testsuite/27_io/streambuf.cc (test06): New test, disabled at the
1106 moment.
1107
1108 2001-03-08 Andreas Schwab <schwab@suse.de>
1109
1110 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Fix syntax in test
1111 command.
1112 * aclocal.m4, configure: Regenerated.
1113
1114 2001-03-07 Benjamin Kosnik <bkoz@redhat.com>
1115
1116 * include/bits/std_iosfwd.h: Remove string forward decls here.
1117 * include/bits/stringfwd.h: Add forward decls for char_traits
1118 specializations.
1119 * config/c_io_libio.h (wstreamoff): Delete.
1120 * config/c_io_stdio.h (wstreamoff): Same.
1121 * include/bits/char_traits.h: Use streamoff not wstreamoff for
1122 char_traits<wchar_t>::off_type.
1123 Remove duplicate typedefs.
1124 * include/bits/fpos.h: Define streampos/wstreampos here.
1125 * testsuite/27_io/istream_seeks.cc (test04): Explicitly cast int
1126 values to off_type.
1127 (test05): Same.
1128 Changeup output files.
1129 * testsuite/27_io/istream_unformatted.cc: Change output files.
1130 * testsuite/27_io/istream_seeks-1.txt: Add.
1131 * testsuite/27_io/istream_seeks-2.tst: Add.
1132 * testsuite/27_io/istream_seeks-1.tst: Add.
1133 * testsuite/27_io/istream_unformatted-2.tst: Delete.
1134 * testsuite/27_io/istream_unformatted-3.tst: Delete.
1135 * testsuite/27_io/istream_unformatted-3.txt: Delete.
1136
1137 2001-03-07 Alexandre Oliva <aoliva@redhat.com>
1138
1139 Add Irix 5.2, 6.3 support.
1140 * config/os/irix/bits: Renamed to...
1141 * config/os/irix/irix6.5/bits: this.
1142 * config/os/irix/irix5.2/bits: New, copied from irix6.5/bits.
1143 * config/os/irix/irix5.2/bits/ctype_base.h: Use _U, _L, _N,
1144 _X, _S, _P, _C and _B instead of IRIX-6.5 _IS* macros.
1145 * config/os/irix/irix5.2/bits/ctype_noninline.h
1146 (ctype<char>::ctype): Initialize _M_table with __ctype.
1147 * configure.target: Adjust.
1148
1149 2001-03-06 Benjamin Kosnik <bkoz@redhat.com>
1150
1151 libstdc++/2181
1152 * include/bits/istream.tcc (basic_istream<_CharT, _Traits>::
1153 operator>>(__istream_type& (*__pf)(__istream_type&)): Don't use
1154 sentry.
1155 (basic_istream<_CharT, _Traits>:: operator>>(__ios_type&
1156 (*__pf)(__ios_type&)): Same.
1157 (basic_istream<_CharT, _Traits>:: operator>>(ios_base&
1158 (*__pf)(ios_base&))): Same.
1159 * testsuite/27_io/istream_extractor_other.cc: Add tests.
1160 * testsuite/27_io/istream_manip.cc (test01): Fix.
1161
1162 2001-03-06 Nathan Myers <ncm@cantrip.org>
1163 Benjamin Kosnik <bkoz@redhat.com>
1164
1165 * include/c_std/bits/std_cerrno.h: Don't define errno in std::.
1166 * testsuite/17_intro/header_cerrno.cc (test01): New file.
1167 * testsuite/17_intro/header_cassert.cc (test01): New file.
1168 * testsuite/17_intro/header_cstddef.cc (test01): New file.
1169 * testsuite/17_intro/header_csetjmp.cc (test01): New file.
1170 * testsuite/17_intro/header_cstdarg.cc (test01): New file.
1171
1172 2001-03-05 scott snyder <snyder@fnal.gov>
1173
1174 libstdc++/2190
1175 * include/c_std/bits/std_cmath.h: Move abs(long), div(long,long)
1176 from here...
1177 * include/c_std/bits/std_cstdlib.h: ... to here.
1178 * testsuite/17_intro/header_cstdlib.cc: Add test.
1179
1180 2001-03-05 Stephen M. Webb <stephen.webb@cybersafe.com>
1181
1182 * libsupc++/vec.cc (__cxxa_vec_new2): Qualify size_t.
1183
1184 2001-03-05 Laurynas Biveinis <lauras@softhome.net>
1185
1186 * config/os/djgpp/ctype_base.h (ctype_base): fix __to_type
1187 definition. Replace enum with static const variables.
1188
1189 * config/os/djgpp/ctype_inline.h (ctype<char>::is): remove
1190 throw specification, fix typos, use <static_cast>.
1191 (ctype<char>::scan_is): remove throw specification.
1192 (ctype<char>::scan_not): likewise.
1193
1194 * config/os/djgpp/ctype_noninline.h (ctype<char>::ctype): fix typo.
1195 (ctype<char>::do_toupper(char)): use <static_cast>.
1196 (ctype<char>::do_toupper(char *, const char *)): likewise.
1197 (ctype<char>::do_tolower(char)): likewise.
1198 (ctype<char>::do_tolower(char *, const char *)): likewise.
1199
1200 2001-03-04 Phil Edwards <pme@sources.redhat.com>
1201
1202 http://gcc.gnu.org/ml/libstdc++/2001-03/msg00015.html
1203 * include/backward/algo.h: Use std not __STD. Remove unneeded
1204 macros and "never happens" code. Adjust to C++STYLE guidelines.
1205 * include/backward/algobase.h: Likewise.
1206 * include/backward/alloc.h: Likewise.
1207 * include/backward/bvector.h: Likewise.
1208 * include/backward/deque.h: Likewise.
1209 * include/backward/function.h: Likewise.
1210 * include/backward/hash_map.h: Likewise.
1211 * include/backward/hash_set.h: Likewise.
1212 * include/backward/hashtable.h: Likewise.
1213 * include/backward/heap.h: Likewise.
1214 * include/backward/iterator.h: Likewise.
1215 * include/backward/list.h: Likewise.
1216 * include/backward/map.h: Likewise.
1217 * include/backward/multimap.h: Likewise.
1218 * include/backward/multiset.h: Likewise.
1219 * include/backward/pair.h: Likewise.
1220 * include/backward/rope.h: Likewise.
1221 * include/backward/set.h: Likewise.
1222 * include/backward/slist.h: Likewise.
1223 * include/backward/stack.h: Likewise.
1224 * include/backward/strstream: Likewise.
1225 * include/backward/tempbuf.h: Likewise.
1226 * include/backward/tree.h: Likewise.
1227 * include/backward/vector.h: Likewise.
1228 * include/bits/basic_ios.h: Likewise.
1229 * include/bits/basic_ios.tcc: Likewise.
1230 * include/bits/basic_string.h: Likewise.
1231 * include/bits/c++config: Likewise.
1232 * include/bits/concept_checks.h: Likewise.
1233 * include/bits/fpos.h: Likewise.
1234 * include/bits/fstream.tcc: Likewise.
1235 * include/bits/functexcept.h: Likewise.
1236 * include/bits/ios_base.h: Likewise.
1237 * include/bits/istream.tcc: Likewise.
1238 * include/bits/mask_array.h: Likewise.
1239 * include/bits/ostream.tcc: Likewise.
1240 * include/bits/pthread_allocimpl.h: Likewise.
1241 * include/bits/sbuf_iter.h: Likewise.
1242 * include/bits/slice.h: Likewise.
1243 * include/bits/slice_array.h: Likewise.
1244 * include/bits/sstream.tcc: Likewise.
1245 * include/bits/std_bitset.h: Likewise.
1246 * include/bits/std_fstream.h: Likewise.
1247 * include/bits/std_iomanip.h: Likewise.
1248 * include/bits/std_ios.h: Likewise.
1249 * include/bits/std_istream.h: Likewise.
1250 * include/bits/std_iterator.h: Likewise.
1251 * include/bits/std_memory.h: Likewise.
1252 * include/bits/std_ostream.h: Likewise.
1253 * include/bits/std_sstream.h: Likewise.
1254 * include/bits/std_streambuf.h: Likewise.
1255 * include/bits/std_string.h: Likewise.
1256 * include/bits/std_valarray.h: Likewise.
1257 * include/bits/stl_algo.h: Likewise.
1258 * include/bits/stl_algobase.h: Likewise.
1259 * include/bits/stl_alloc.h: Likewise.
1260 * include/bits/stl_construct.h: Likewise.
1261 * include/bits/stl_deque.h: Likewise.
1262 * include/bits/stl_function.h: Likewise.
1263 * include/bits/stl_heap.h: Likewise.
1264 * include/bits/stl_iterator.h: Likewise.
1265 * include/bits/stl_iterator_base.h: Likewise.
1266 * include/bits/stl_list.h: Likewise.
1267 * include/bits/stl_map.h: Likewise.
1268 * include/bits/stl_multimap.h: Likewise.
1269 * include/bits/stl_multiset.h: Likewise.
1270 * include/bits/stl_numeric.h: Likewise.
1271 * include/bits/stl_pair.h: Likewise.
1272 * include/bits/stl_pthread_alloc.h: Likewise.
1273 * include/bits/stl_queue.h: Likewise.
1274 * include/bits/stl_raw_storage_iter.h: Likewise.
1275 * include/bits/stl_relops.h: Likewise.
1276 * include/bits/stl_set.h: Likewise.
1277 * include/bits/stl_stack.h: Likewise.
1278 * include/bits/stl_tempbuf.h: Likewise.
1279 * include/bits/stl_threads.h: Likewise.
1280 * include/bits/stl_tree.h: Likewise.
1281 * include/bits/stl_uninitialized.h: Likewise.
1282 * include/bits/stl_vector.h: Likewise.
1283 * include/bits/streambuf.tcc: Likewise.
1284 * include/bits/type_traits.h: Likewise.
1285 * include/bits/valarray_meta.h: Likewise.
1286 * include/ext/bvector: Likewise.
1287 * include/ext/hash_map: Likewise.
1288 * include/ext/hash_set: Likewise.
1289 * include/ext/ropeimpl.h: Likewise.
1290 * include/ext/slist: Likewise.
1291 * include/ext/stl_bvector.h: Likewise.
1292 * include/ext/stl_hash_fun.h: Likewise.
1293 * include/ext/stl_hashtable.h: Likewise.
1294 * include/ext/stl_rope.h: Likewise.
1295 * src/complex_io.cc: Likewise.
1296 * src/ios.cc: Likewise.
1297 * src/locale-inst.cc: Likewise.
1298 * src/locale.cc: Likewise.
1299 * src/localename.cc: Likewise.
1300 * src/misc-inst.cc: Likewise.
1301 * src/stdexcept.cc: Likewise.
1302 * src/stl-inst.cc: Likewise.
1303 * src/strstream.cc: Likewise.
1304 * src/valarray-inst.cc: Likewise.
1305
1306 2001-03-03 Benjamin Kosnik <bkoz@redhat.com>
1307
1308 * src/misc-inst.cc (__copy_streambufs): Fix typo for alpha.
1309
1310 2001-03-02 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1311
1312 * include/bits/istream.tcc: change type of __extracted to __size_type
1313
1314 2001-03-02 Benjamin Kosnik <bkoz@redhat.com>
1315
1316 * src/wstring-inst.cc: New file.
1317 * src/Makefile.am (EXTRA_LTLIBRARIES): Remove.
1318 (libinst_wstring_la_SOURCES): Remove.
1319 (libstdc___la_LIBADD): Remove libinst_wstring_la.
1320 (sources): Add wstring-inst.cc
1321 * acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Remove
1322 libinst_wstring_la.
1323
1324 2001-03-02 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
1325
1326 * src/locale.cc: initialise __ret with zero
1327 * src/strstream.cc:cast gptr to int_type
1328
1329 2001-03-01 Phil Edwards <pme@sources.redhat.com>
1330
1331 * docs/html/faq/index.html: Update broken links.
1332 * docs/html/faq/index.txt: Regenerated.
1333
1334 2001-02-28 Benjamin Kosnik <bkoz@redhat.com>
1335
1336 libstdc++/2064
1337 * configure.target: Change irix* to irix6.5* in target_os table.
1338
1339 2001-02-28 Benjamin Kosnik <bkoz@redhat.com>
1340
1341 libstdc++/2103
1342 * include/bits/c++config (__GLIBCPP__): Bump number in
1343 anticipation of 2.92.
1344
1345 * include/bits/codecvt.h: Fix typo.
1346 * include/bits/basic_file.h (__basic_file): Don't use _M_wfile for
1347 stdio model.
1348 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Enable wchar_t
1349 instantiations for stdio model.
1350
1351 2001-02-28 Phil Edwards <pme@sources.redhat.com>
1352
1353 * acinclude.m4 (GLIBCPP_CONFIGURE): Remove GLIBCPP_CFLAGS
1354 and GLIBCPP_CXXFLAGS as unused variables.
1355 * configure.host: Likewise.
1356 * configure.target: Likewise.
1357 * aclocal.m4: Regenerated.
1358 * configure: Regenerated.
1359 * Makefile.in: Regenerated.
1360 * libio/Makefile.in: Regenerated.
1361 * libmath/Makefile.in: Regenerated.
1362 * libsupc++/Makefile.in: Regenerated.
1363 * src/Makefile.in: Regenerated.
1364
1365 2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
1366
1367 libstdc++/1886
1368 * include/bits/basic_file.h: Include basic_file_model.h.
1369 * config/c_io_libio.cc: Move to...
1370 * config/basic_file_libio.cc: Here.
1371 * config/basic_file_libio.h: New file.
1372 * config/c_io_stdio.cc: Move to...
1373 * config/basic_file_stdio.cc: Here.
1374 * config/basic_file_stdio.h: New file.
1375 * config/c_io_libio.h: Tweak.
1376 * config/c_io_stdio.h: Tweak.
1377 * src/Makefile.am (build_headers): Add basic_file_model.h.
1378 (sources): Add basic_file.cc, remove c++io.cc.
1379 * src/Makefile.in: Regenerate.
1380 * acinclude.m4 (GLIBCPP_ENABLE_CSTDIO): Add support for
1381 basic_file_model.h and basic_file.cc.
1382 * aclocal.m4: Regenerate.
1383 * configure: Regenerate.
1384 * testsuite/27_io/filebuf.cc (test05): Add regression.
1385
1386 2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
1387
1388 Correct license.
1389 * config/cpu/alpha/bits/atomicity.h: Change.
1390 * config/cpu/arm/bits/atomicit3y.h
1391 * config/cpu/generic/bits/atomicity.h
1392 * config/cpu/i386/bits/atomicity.h
1393 * config/cpu/i486/bits/atomicity.h
1394 * config/cpu/ia64/bits/atomicity.h
1395 * config/cpu/powerpc/bits/atomicity.h
1396 * config/cpu/sparc/sparc32/bits/atomicity.h
1397 * config/cpu/sparc/sparc64/bits/atomicity.h
1398 * config/os/aix/bits/atomicity.h
1399 * config/os/irix/bits/atomicity.h
1400
1401 2001-02-27 Benjamin Kosnik <bkoz@redhat.com>
1402
1403 * include/bits/std_stdexcept.h (runtime_error): Make string
1404 member non-const.
1405 (logic_error): Same.
1406 * testsuite/19_diagnostics/stdexceptions.cc (test04): Add test.
1407 (test03): Fix.
1408
1409 2001-02-26 Benjamin Kosnik <bkoz@redhat.com>
1410
1411 libstdc++/1972
1412 libstdc++/2089
1413 * include/bits/std_stdexcept.h (logic_error::logic_error): Use
1414 string object, not reference.
1415 (runtime_error::runtime_error): Same.
1416 * testsuite/19_diagnostics/stdexceptions.cc: New file.
1417
1418 2001-02-26 Phil Edwards <pme@sources.redhat.com>
1419
1420 * acinclude.m4 (GLIBCPP_CONFIGURE): Update required compiler version.
1421 (GLIBCPP_CHECK_COMPILER_FEATURES): Can safely assume new
1422 diagnostics. Remove WFMT_FLAGS.
1423 * configure.in: Replace WFMT_FLAGS with diagnostics options.
1424 * libsupc++/Makefile.am: Likewise.
1425 * src/Makefile.am: Likewise.
1426 * aclocal.m4: Regenerated.
1427 * configure: Regenerated.
1428 * Makefile.in: Regenerated.
1429 * libio/Makefile.in: Regenerated.
1430 * libmath/Makefile.in: Regenerated.
1431 * libsupc++/Makefile.in: Regenerated.
1432 * src/Makefile.in: Regenerated.
1433
1434 2001-02-26 Phil Edwards <pme@sources.redhat.com>
1435
1436 Fixes libstdc++/2079
1437 * include/backward/iomanip.h: Expose <ios> manipulators to global
1438 namespace.
1439 * include/backward/iostream.h: Also expose std::ws.
1440
1441 2001-02-25 Greg Freemyer <freemyer@NorcrossGroup.com>
1442
1443 * libmath/mathconf.h (GET_LDOUBLE_MSW64): Fix thinko.
1444
1445 2001-02-23 Benjamin Kosnik <bkoz@redhat.com>
1446
1447 * include/bits/codecvt.h: Use __builtin_alloca.
1448 * include/bits/ostream.tcc: Same.
1449 * include/bits/fstream.tcc: Same.
1450
1451 2001-02-23 Alexandre Oliva <aoliva@redhat.com>
1452
1453 * mknumeric_limits (CC): Use VAR=${VAR=...} form.
1454
1455 2001-02-23 David Edelsohn <dje@watson.ibm.com>
1456
1457 * mknumeric_limits (CC): Use $BUILD_DIR/../../gcc/xgcc
1458
1459 2001-02-23 Phil Edwards <pme@sources.redhat.com>
1460
1461 c++/2052
1462 * include/backward/iostream.h: Expose std::flush in old headers.
1463
1464 2001-02-23 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1465
1466 * mknumeric_limits: Remove special-casing on target. Use gcc
1467 instead of g++ to build gen-num-limits.cc
1468
1469 2001-02-22 Benjamin Kosnik <bkoz@redhat.com>
1470
1471 * tests_flags.in (CXXFLAGS): Add -rpath to gcc build dir.
1472
1473 * include/bits/codecvt.h: Use alloca instead of __extension__ for
1474 the time being.
1475 * include/bits/ostream.tcc: Same.
1476 * include/bits/std_ostream.h: Same.
1477 * include/bits/fstream.tcc: Same.
1478 * include/bits/locale_facets.tcc: Add typename.
1479 * include/bits/c++config (_GLIBCPP_FULLY_COMPLIANT_HEADERS): Enable.
1480
1481 2001-02-21 Phil Edwards <pme@sources.redhat.com>
1482
1483 * tests_flags.in: Remove -n flag from call to echo.
1484
1485 2001-02-20 Benjamin Kosnik <bkoz@redhat.com>
1486
1487 * config/c_locale_gnu.h: Add clocale include.
1488
1489 2001-02-20 Phil Edwards <pme@sources.redhat.com>
1490
1491 * include/bits/stl_config.h: Remove file.
1492 * src/Makefile.am (base_headers): Remove from list.
1493 * configure: Regenerate.
1494 * Makefile.in: Ditto.
1495 * libio/Makefile.in: Ditto.
1496 * libmath/Makefile.in: Ditto.
1497 * libsupc++/Makefile.in: Ditto.
1498 * src/Makefile.in: Ditto.
1499
1500 * include/bits/c++config: Move relevant macros to here.
1501 * include/backward/alloc.h: Include c++config.h instead.
1502 * include/backward/function.h: Ditto.
1503 * include/backward/heap.h: Ditto.
1504 * include/backward/pair.h: Ditto.
1505 * include/bits/pthread_allocimpl.h: Ditto.
1506 * include/bits/std_functional.h: Ditto.
1507 * include/bits/std_iterator.h: Ditto.
1508 * include/bits/std_numeric.h: Ditto.
1509 * include/bits/std_utility.h: Ditto.
1510 * include/bits/stl_algobase.h: Ditto.
1511 * include/bits/type_traits.h: Ditto.
1512 * src/stl-inst.cc: Ditto.
1513
1514 2001-02-19 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1515
1516 * include/bits/basic_file.h: Add #pragma system_header
1517 * include/bits/basic_ios.h: Ditto.
1518 * include/bits/basic_string.h: Ditto.
1519 * include/bits/char_traits.h: Ditto.
1520 * include/bits/codecvt.h: Ditto.
1521 * include/bits/cpp_type_traits.h: Ditto.
1522 * include/bits/fpos.h: Ditto.
1523 * include/bits/gslice.h: Ditto.
1524 * include/bits/gslice_array.h: Ditto.
1525 * include/bits/indirect_array.h: Ditto.
1526 * include/bits/ios_base.h: Ditto.
1527 * include/bits/limits_generic.h: Ditto.
1528 * include/bits/locale_facets.h: Ditto.
1529 * include/bits/localefwd.h: Ditto.
1530 * include/bits/mask_array.h: Ditto.
1531 * include/bits/sbuf_iter.h: Ditto.
1532 * include/bits/sequence_concepts.h: Ditto.
1533 * include/bits/slice.h: Ditto.
1534 * include/bits/slice_array.h: Ditto.
1535 * include/bits/std_algorithm.h: Likewise.
1536 * include/bits/std_bitset.h: Likewise.
1537 * include/bits/std_complex.h: Likewise.
1538 * include/bits/std_deque.h: Likewise.
1539 * include/bits/std_fstream.h: Likewise.
1540 * include/bits/std_functional.h: Likewise.
1541 * include/bits/std_iomanip.h: Likewise.
1542 * include/bits/std_ios.h: Likewise.
1543 * include/bits/std_iosfwd.h: Likewise.
1544 * include/bits/std_iostream.h: Likewise.
1545 * include/bits/std_istream.h: Likewise.
1546 * include/bits/std_iterator.h: Likewise.
1547 * include/bits/std_list.h: Likewise.
1548 * include/bits/std_locale.h: Likewise.
1549 * include/bits/std_map.h: Likewise.
1550 * include/bits/std_memory.h: Likewise.
1551 * include/bits/std_numeric.h: Likewise.
1552 * include/bits/std_ostream.h: Likewise.
1553 * include/bits/std_queue.h: Likewise.
1554 * include/bits/std_set.h: Likewise.
1555 * include/bits/std_sstream.h: Likewise.
1556 * include/bits/std_stack.h: Likewise.
1557 * include/bits/std_stdexcept.h: Likewise.
1558 * include/bits/std_streambuf.h: Likewise.
1559 * include/bits/std_string.h: Likewise.
1560 * include/bits/std_utility.h: Likewise.
1561 * include/bits/std_valarray.h: Likewise.
1562 * include/bits/std_vector.h: Likewise.
1563 * include/bits/stringfwd.h: Likewise.
1564 * include/bits/type_traits.h: Likewise.
1565 * include/bits/valarray_array.h: Likewise.
1566 * include/bits/valarray_meta.h: Likewise.
1567
1568 2001-02-19 Andreas Jaeger <aj@suse.de>
1569
1570 * config/cpu/sparc/sparc64/bits/atomicity.h (__compare_and_swap):
1571 Fix typo.
1572
1573 2001-02-16 Greg Bumgardner <bumgard@roguewave.com>
1574
1575 libstdc++/1734
1576 * include/bits/std_ostream.h: Replaced usage of
1577 _Traits::_S_eos() with _CharT() as per section 17.2.2.1.3.
1578 * include/bits/char_traits.h: Removed non-standard
1579 methods that cannot be used elsewhere.
1580
1581 libstdc++/1885
1582 * include/bits/basic_ios.h: Uncommented #include of
1583 bits/basic_ios.tcc
1584
1585 libstdc++/1897
1586 * include/bits/codecvt.h: See next...
1587 * include/bits/fstream.tcc: See next...
1588 * include/bits/ostream.tcc: Add __extension__
1589 to variable-length arrays.
1590
1591 libstdc++/1967
1592 * include/bits/localefwd.h: Changed int counter type to size_t.
1593
1594 libstdc++/1968
1595 * include/bits/std_fstream.h: Added typedef for __ctype_type.
1596
1597 2001-02-16 Benjamin Kosnik <bkoz@redhat.com>
1598
1599 * testsuite/21_strings/char_traits.cc: Move to ...
1600 * testsuite/21_strings/char_traits_requirements.cc: ..here.
1601 * testsuite/21_strings/char_traits-int_type.cc: Move to ...
1602 * testsuite/21_strings/char_traits_typedefs.cc: ..here.
1603
1604 2001-02-16 Gabriel Dos Reis <gdr@codesourcery.com>
1605
1606 * libmath/mathconf.h (FINITE_P, INFINITE_P): Remove macro
1607 definitions.
1608
1609 2001-02-15 Benjamin Kosnik <bkoz@redhat.com>
1610
1611 * include/bits/c++config: Revert.
1612
1613 2001-02-15 Mark Mitchell <mark@codesourcery.com>
1614
1615 * include/bits/istream.tcc: Use ios_base::iostate in place of
1616 iostate throughout. Insert `typename' keyword where necessary.
1617 * include/bits/ostream.tcc: Insert `typename' keyword where
1618 necessary.
1619
1620 2001-02-15 Jeffrey Oldham <oldham@codesourcery.com>
1621
1622 * include/bits/c++config (_GLIBCPP_FULLY_COMPLIANT_HEADERS):
1623 Define so library is compliant.
1624
1625 2001-02-15 Anthony Green <green@redhat.com>
1626
1627 * acinclude.m4 (glibcpp_toolexeclibdir): Fix test for cross
1628 compilation.
1629 * aclocal.m4: Regenerate.
1630 * configure: Regenerate.
1631
1632 2001-02-15 Rodney Brown <RodneyBrown@mynd.com>
1633
1634 * acinclude.m4 (GLIBCPP_CHECK_MATH_DECL_1):
1635 Include ieeefp.h for fpclass on UnixWare{2,7}.
1636 * aclocal.m4: Regenerate.
1637 * configure: Regenerate.
1638 * mkcheck.in (size_command): Do without GNU-grep when using
1639 size from binutils.
1640
1641 2001-02-15 Mark Mitchell <mark@codesourcery.com>
1642
1643 Remove old ABI support from libsupc++.
1644 * libsupc++/cxxabi.h: Remove conditionally compiled code.
1645 * libsupc++/exception_support.cc: Likewise.
1646 * libsupc++/pure.cc: Likewise.
1647 * libsupc++/tinfo.cc: Likewise.
1648 * libsupc++/tinfo.h: Likewise.
1649 * libsupc++/tinfo2.cc: Likewise.
1650 * libsupc++/typeinfo: Likewise.
1651 * libsupc++/vec.cc: Likewise.
1652
1653 2001-02-15 Benjamin Kosnik <bkoz@redhat.com>
1654
1655 Add support for -fno-exceptions.
1656 * include/bits/exception_support.h: Remove.
1657 * include/bits/basic_string.h: Remove exception_support.
1658 (string::_M_check): Replace __OUTOFRANGE with __throw_out_of_range.
1659 (string::at): Same.
1660 (string::substr): Same.
1661 * include/bits/basic_string.tcc (string::reserve): Replace
1662 __LENGTHERROR with __throw_length_error.
1663 (string::_S_create): Same.
1664 (string::resize): Same.
1665 (string::_M_replace): Same.
1666 (string::replace): Same.
1667 (string::copy): Replace __OUTOFRANGE with __throw_out_of_range.
1668 (string::compare): Same.
1669 * include/bits/stl_vector.h: Remove exception_support.
1670 * src/Makefile.am (base_headers): Remove here.
1671 * src/Makefile.in: Regenerate.
1672
1673 * include/bits/stl_range_errors.h: Remove.
1674 * include/bits/stl_deque.h: Use __throw_range_error.
1675 * include/bits/std_deque.h: Include functexcept.h.
1676 * include/bits/std_vector.h: Same.
1677 * src/Makefile.am (base_headers): Remove here.
1678 * src/Makefile.in: Regenerate.
1679 * include/ext/stl_bvector.h (class __BVECTOR): Use __throw_range_error.
1680 * include/ext/bvector: Remove stl_range_errors.h
1681
1682 * include/bits/c++config (_GLIBCPP_USE_EXCEPTIONS): Remove.
1683
1684 * include/bits/functexcept.h: New file.
1685 * src/functexcept.cc: New file. Definitions for function-based
1686 exception routines.
1687 * src/Makefile.am (sources): Add functexcept.cc.
1688 * src/Makefile.in: Regenerate.
1689
1690 * include/bits/stl_config.h (__STL_USE_EXCEPTIONS): Wrap with
1691 __EXCEPTIONS.
1692
1693 * include/bits/localefwd.h: Include functexcept.h.
1694 * include/bits/std_iosfwd.h: Same.
1695
1696 * include/bits/basic_ios.h: Use __throw_ios_failure instead of
1697 throw basic_ios::failure.
1698 * include/bits/fstream.tcc (filebuf::_M_allocate_buffers):
1699 Use __throw_exception_again.
1700 (filebuf::_M_filebuf_init): Same.
1701 * include/bits/streambuf.tcc (__copy_streambufs): Same.
1702 * include/bits/ostream.tcc (ostream::operator<<): Same.
1703 * include/bits/istream.tcc (istream::operator>>): Same.
1704 * include/bits/basic_string.tcc (string::_M_mutate): Same.
1705 (string::_S_construct): Same.
1706 (string::_M_clone): Same.
1707 * include/bits/locale_facets.tcc (use_facet(const locale&)): Use
1708 __throw_bad_cast.
1709 (num_put<_CharT, _OutIter>::do_put): Use __throw_exception_again.
1710 * src/localename.cc (locale::_Imp::_Imp(const _Impl&, size_t): Use
1711 __throw_exception_again.
1712 (locale::_Imp::_Imp(string, size_t): Same.
1713 (locale::_Imp::_M_replace_facet): Use __throw_runtime_error.
1714 * src/locale.cc (locale::_M_coalesce): Use __throw_exception_again.
1715 (locale::locale(const char*)): Use __throw_runtime_error.
1716 (locale::classic): Use __throw_exception_again.
1717 (locale::_S_normalize_category): Use __throw_runtime_error.
1718
1719 * src/stdexcept.cc: Remove cruft.
1720
1721 * libsupc++/exception_defines.h: New file.
1722 * libsupc++/new_opnt.cc: Include exception_defines.h.
1723 * libsupc++/vec.cc: Same.
1724 (__cxa_vec_new2): Use __throw_exception_again.
1725 (__cxa_vec_new3): Same.
1726 (__cxa_vec_ctor): Same.
1727 (__cxa_vec_delete3): Same.
1728 (__cxa_vec_cctor): Same.
1729 (__cxa_vec_delete2): Same.
1730 (__cxa_vec_dtor): Same.
1731 * libsupc++/exception_support.cc: Include exception_defines.h. Only
1732 compile exception-handling bits if __EXCEPTIONS is defined.
1733 Remove old ABI support.
1734 * libsupc++/new_op.cc (new): Include exception_defines.h. Use
1735 std::__throw_bad_alloc() instead of throw bad_alloc.
1736 * libsupc++/Makefile.am: Add exception_defines.h.
1737 * libsupc++/Makefile.in: Reformat.
1738 * libsupc++/*: Format.
1739
1740 2001-02-15 Phil Edwards <pme@sources.redhat.com>
1741
1742 * docs/html/configopts.html: Minor updates and typo fixes.
1743 * docs/html/faq/index.html: Updates of the "not really bugs" list.
1744 * docs/html/faq/index.txt: Regenerated.
1745
1746 2001-02-15 Gabriel Dos Reis <gdr@codesourcery.com>
1747
1748 * testsuite/lib/libstdc++.exp: Lift, temporarily, out of
1749 dejagnu/dg.exp. Adapt to log options used to run testcases.
1750
1751 2001-02-13 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1752
1753 * testsuite/lib/libstdc++.exp(dg-test): Lift temporarily from
1754 dejagnu/dg.exp.
1755
1756 2001-02-13 Dirk Mueller <dmuell@gmx.net>
1757 Phil Edwards <pme@sources.redhat.com>
1758
1759 * include/backward/function.h: Do not use rel_ops for older
1760 headers either.
1761 * include/backward/pair.h: Likewise.
1762
1763 2001-02-12 Mark Mitchell <mark@codesourcery.com>
1764
1765 * src/locale.cc: Remove bogus locale::id definitions.
1766
1767 2001-02-11 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
1768
1769 * include/bits/std_valarray.h: #undef _DEFINE_LOGICAL_OPERATOR,
1770 not _DEFINE_VALARRAY_OPERATOR which is not existent.
1771
1772 * include/bits/valarray_meta.h (_RefFunClos<>_RefRunClos): Fix
1773 thinko in member initialisation.
1774
1775 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
1776
1777 * include/bits/std_valarray.h(valarray<>::shift): Avoid
1778 comparaison between signed and unsigned integer types.
1779 (valarray<>::cshift): Reformat.
1780
1781 2001-02-11 Alexandre Oliva <aoliva@redhat.com>
1782
1783 * src/gen-num-limits.cc: Use sigsetjmp and siglongjmp if available.
1784 * mknumeric_limits: Compile it with -DHAVE_CONFIG_H.
1785 * configure.in: Test for sigsetjmp.
1786 * configure, config.h.in: Rebuilt.
1787
1788 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
1789
1790 * src/valarray-inst.cc (gslice::_Indexer::_Indexer): Don't flip
1791 lengths and strides.
1792 (__gslice_to_index): Document.
1793
1794 2001-02-11 Gabriel Dos Reis <gdr@codesourcery.com>
1795
1796 * include/bits/char_traits.h char_traits<char>::int_type: Change
1797 to `int' to match 21.1.3.1/2.
1798
1799 * testsuite/21_strings/char_traits-int_type.C: New test.
1800
1801 2001-02-10 Gabriel Dos Reis <gdr@codesourcery.com>
1802
1803 * testsuite/Makefile.am: New file.
1804
1805 2001-02-09 Nathan Sidwell <nathan@codesourcery.com>
1806
1807 * include/c_shadow/bits/std_cstdlib.h (lldiv_t): Fix typo.
1808
1809 2001-02-08 Loren J. Rittle <ljrittle@acm.org>
1810
1811 * src/locale-inst.cc (fill_n): Instantiate with size_t arguments.
1812
1813 2001-02-08 David Edelsohn <edelsohn@gnu.org>
1814
1815 * configure.target (aix4*): Remove extra set of brackets.
1816
1817 2001-02-07 Benjamin Kosnik <bkoz@redhat.com>
1818
1819 Clean up stdexcept.
1820 * include/bits/stringfwd.h: New file.
1821 * include/bits/stl_string_fwd.h: Remove.
1822 * include/bits/localefwd.h: Remove declaration for allocator.
1823 * include/bits/std_iosfwd: Same.
1824 * include/bits/std_string.h: Include it.
1825 * include/bits/std_ios.h: Remove include.
1826 * include/bits/basic_string.h: Tweak.
1827 * libsupc++/new: Format.
1828 * src/Makefile.am (base_headers): Add stringfwd.h, remove
1829 stl_string_fwd.h
1830 * src/Makefile.in: Regenerate.
1831 * include/bits/std_stdexcept.h: Rewrite.
1832 * src/stdexcept.cc: Same.
1833
1834 2001-02-06 Benjamin Kosnik <bkoz@redhat.com>
1835
1836 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Deal with library
1837 install locations too.
1838 * aclocal.m4: Regenerate.
1839 * configure.in: Remove USE_LIBDIR.
1840 * configure: Regenerate.
1841 * src/Makefile.am (toolexecdir): Simplify, use
1842 glibcpp_toolexecdir, glibcpp_toolexeclibdir.
1843 * src/Makefile.in: Regenerate.
1844 * libsupc++/Makefile.am: Same.
1845 * libsupc++/Makefile.in: Regenerate.
1846
1847 * src/Makefile.am: Just remove special rules for locale-inst.cc and
1848 misc-inst.cc as no longer necessary.
1849
1850 Follow C++STYLE for naming non-static functions.
1851 * include/bits/ostream.tcc (_S_pad_char): Not static, rename to
1852 __pad_char.
1853 * include/bits/streambuf.tcc: Same.
1854 * include/bits/ostream.tcc: Same.
1855 * include/bits/istream.tcc: Same.
1856 * include/bits/locale_facets.tcc (_S_pad_numeric): To __pad_numeric.
1857 (_S_output_float): To __output_float.
1858 * include/bits/std_streambuf.h (_S_copy_streambufs): To
1859 __copy_streambufs.
1860 * include/bits/locale_facets.tcc (_S_build_float_format): To
1861 __build_float_format.
1862 (_S_format): To __output_integer.
1863 (_S_fill): To __pad.
1864 * src/locale.cc: Same.
1865 * src/misc-inst.cc: Fix formatting. Fix signature for wchar_t. Correct
1866 names.
1867 * include/bits/locale_facets.tcc (_S_group_digits): To
1868 __group_digits.
1869 * src/locale-inst.cc: Fixup names. Add use_facet instantiations
1870 for collate, numpunct.
1871
1872 2001-02-06 Phil Edwards <pme@sources.redhat.com>
1873
1874 * docs/html/configopts.html: Fix HTML markup.
1875 * docs/html/install.html: Bring up to date.
1876 * docs/html/17_intro/C++STYLE: Add global variable conventions.
1877 * docs/html/21_strings/howto.html: More notes.
1878 * docs/html/22_locale/howto.html: Fix HTML markup.
1879 * docs/html/27_io/howto.html: More notes.
1880 * docs/html/27_io/binary_iostreams_kanze.txt: New file.
1881 * docs/html/27_io/binary_iostreams_kuehl.txt: New file.
1882
1883 2001-02-06 Jeffrey Oldham <oldham@codesourcery.com>
1884
1885 * src/misc-inst.cc (_S_pad_char): Modify declaration's parameters
1886 to match header files.
1887 (_S_output_float): Likewise.
1888 (_S_copy_streambufs): Likewise.
1889
1890 2001-02-06 Hyman Rosen <Hyman.Rosen@kbcfp.com>
1891 Phil Edwards <pme@sources.redhat.com>
1892
1893 * include/bits/std_istream.h (op>> signed,unsigned char): Must
1894 use reinterpret_cast, not static_cast.
1895
1896 2001-02-06 Benjamin Kosnik <bkoz@redhat.com>
1897
1898 * acinclude.m4 (gxx_include_dir): Quote, fix regression.
1899 * aclocal.m4: Regenerate.
1900 * configure: Regenerate.
1901
1902 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
1903
1904 * include/bits/locale_facets.h (class moneypunct): Fix typos.
1905 * libsupc++/pure.cc: Revert.
1906
1907 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
1908
1909 * acinclude.m4 (GLIBCPP_CHECK_MATH_DECL_1): New macro.
1910 (GLIBCPP_CHECK_MATH_DECL_2): New macro.
1911 (GLIBCPP_CHECK_MATH_DECL_3): New macro.
1912 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_1): Use it, check for _* too.
1913 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_2): Same.
1914 (GLIBCPP_CHECK_MATH_DECL_AND_LINKAGE_3): Same.
1915 (GLIBCPP_CHECK_MATH_SUPPORT): Remove explicit checks for _* versions.
1916 * aclocal.m4: Regenerate.
1917 * configure: Regenerate.
1918
1919 2001-02-05 Mark Mitchell <mark@codesourcery.com>
1920
1921 * include/bits/locale_facets.tcc: Remove `static' keyword on
1922 function definitions.
1923 * include/bits/std_streambuf.h: Likewise.
1924 * src/Makefile.am: Remove use of -fimplicit-templates.
1925 * src/Makefile.in: Regenerated.
1926 * src/locale-inst.cc: Explicitly instantiate more functions.
1927 * src/misc-inst.cc: Likewise.
1928 * src/string-inst.cc: Likewise.
1929
1930 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
1931
1932 * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): New
1933 macro. Consolidate all the bits to do with where includes might be
1934 installed.
1935 * aclocal.m4: Regenerate.
1936 * configure.in: Use it.
1937 * configure: Regenerate.
1938 * src/Makefile.am (targetincludep): Use simplified rules.
1939 (targetincludep): Rename gxx_target_include_dir.
1940 (myincludep): Rename gxx_include_dir.
1941 * src/Makefile.in: Regenerate.
1942 * libsupc++/Makefile.am: Use simplified rules.
1943 * libsupc++/Makefile.in: Regenerate.
1944
1945 2001-02-05 Benjamin Kosnik <bkoz@redhat.com>
1946
1947 * include/c_std/bits/std_cerrno.h: Correct date format for copyright.
1948 * include/c_std/bits/std_cctype.h: Same.
1949 * include/c_std/bits/std_cassert.h: Same.
1950 * include/c_std/bits/std_cstdarg.h: Same.
1951 * include/c_std/bits/std_cstddef.h: Same.
1952
1953 * include/c_std/bits/std_cstdio.h: Undefine all names brought into
1954 namespace std.
1955 * include/c_std/bits/std_ctime.h: Same.
1956 * include/c_std/bits/std_clocale.h: Same.
1957 * include/c_std/bits/std_cmath.h: Same.
1958 * include/c_std/bits/std_csetjmp.h: Same.
1959 * include/c_std/bits/std_csignal.h: Same.
1960 * include/c_std/bits/std_cstring.h: Same.
1961 * include/c_std/bits/std_cstdlib.h: Same.
1962 * include/c_std/bits/std_cwchar.h: Same.
1963
1964 2001-02-05 Phil Edwards <pme@sources.redhat.com>
1965
1966 * testsuite/27_io/ios_base_members_static.cc: Swap order of tests.
1967
1968 2001-02-05 Mark Mitchell <mark@codesourcery.com>
1969
1970 * src/string-inst.cc (string::_M_replace): Explicitly instantiate.
1971 (string::_S_construct): Likewise.
1972
1973 2001-02-05 Gabriel Dos Reis <gdr@codesourcery.com>
1974
1975 * testsuite/config/default.exp: New file.
1976 * testsuite/config: New directory.
1977
1978 2001-02-04 Mark Mitchell <mark@codesourcery.com>
1979
1980 * libsupc++/typeinfo (__GXX_MERGED_TYPEINFO_NAMES): New macro.
1981 * libsupc++/tinfo.cc (std::typeinfo::operator==): Use strcmp
1982 whenever !__GXX_MERGED_TYPEINFO_NAMES.
1983 * libsupc++/tinfo2.cc (std::typeinfo::before): Likewise.
1984
1985 2001-02-03 Alexandre Oliva <aoliva@redhat.com>
1986 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
1987
1988 * Makefile.am (mkinstalldirs): Set.
1989 * src/Makefile.am (mkinstalldirs): Set.
1990 * libmath/Makefile.am (mkinstalldirs): Set.
1991 * libsup++/Makefile.am (mkinstalldirs): Set.
1992 * libio/Makefile.am (mkinstalldirs): Set.
1993 * */Makefile.in: Regenerate.
1994
1995 2001-02-03 Benjamin Kosnik <bkoz@redhat.com>
1996
1997 * include/bits/stl_threads.h (struct _STL_mutex_lock): Same.
1998 * include/bits/localefwd.h: More initialization cleanups.
1999
2000 2001-02-03 Jeffrey A Law <law@cygnus.com>
2001
2002 * include/bits/ios_base.h (_S_ios_fmtflags_end): Initialize
2003 correctly targets with 16bit ints.
2004 (_S_ios_openmode_end): Similarly.
2005 (_S_ios_iostate_end): Similarly.
2006 (_S_ios_Seekdir_end): Similarly.
2007
2008 2001-02-02 Phil Edwards <pme@sources.redhat.com>
2009
2010 * mkcheck.in: Also limit virtual memory size, for mmap-based mallocs.
2011
2012 2001-02-01 Alexandre Oliva <aoliva@redhat.com>
2013
2014 * configure.in (toplevel_srcdir, auxdir): Set.
2015 * acinclude.m4 (glibcpp_basedir): Set based on auxdir.
2016 * aclocal.m4, configure, Makefile.in: Rebuilt.
2017 * libio/Makefile.in, math/Makefile.in, src/Makefile.in: Likewise.
2018 * libsupc++-v3/Makefile.am (INCLUDES): Use toplevel_srcdir.
2019 * libsupc++-v3/Makefile.in: Rebuilt.
2020 * libsupc++-v3/configure.in, libsupc++-v3/configure: Removed.
2021 * libsupc++-v3/aclocal.m4, libsupc++-v3/config.h.in: Likewise.
2022
2023 2001-01-30 Benjamin Kosnik <bkoz@redhat.com>
2024
2025 * config/c_locale_generic.cc: Remove langinfo include.
2026
2027 2001-01-29 Benjamin Kosnik <bkoz@redhat.com>
2028
2029 Preliminary named locales.
2030 * acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): New macro.
2031 * aclocal.m4: Regenerate.
2032 * configure.in: Use it.
2033 * configure: Regerate.
2034 * src/Makefile.am (sources): Add c++locale.cc.
2035 (build_headers): Add c++locale.h.
2036 * src/Makefile.in: Regenerate.
2037 * config/c_locale_gnu.h: New file.
2038 * config/c_locale_gnu.cc: New file. Non-inline member functions
2039 for named locales, gnu-specific.
2040 * config/c_locale_generic.h: New file.
2041 * config/c_locale_generic.cc: New file. Non-inline member
2042 functions for named locales, generic version.
2043 * docs/html/configopts.html: Add documentation on new options.
2044
2045 * include/bits/locale_facets.h (class _Messages): Remove.
2046 (class _Moneypunct): Remove.
2047 * src/locale-inst.cc: Remove.
2048
2049 * include/bits/locale_facets.h (class _Collate): Remove.
2050 * src/locale-inst.cc (std): Remove.
2051 * src/locale.cc: And here.
2052
2053 * include/bits/localefwd.h (locale::_M_coalesce): New
2054 function. Correctly put together multi-name locales.
2055 (_Impl(const _Impl&, category, size_t)): Remove.
2056
2057 * include/bits/localefwd.h (locale::_Impl): Remove _M_construct_*
2058 member functions.
2059 (_M_normalize_category_names): Remove.
2060 (_M_replace_categories): Fix.
2061
2062 * src/localename.cc (locale::_Impl::_M_construct_collate): Remove.
2063 (locale::_Impl::_M_construct_ctype): Remove.
2064 (locale::_Impl::_M_construct_monetary): Remove.
2065 (locale::_Impl::_M_construct_numeric): Remove.
2066 (locale::_Impl::_M_construct_time): Remove.
2067 (locale::_Impl::_M_construct_messages): Remove.
2068
2069 * include/bits/locale_facets.h (_Bad_use_facet): Remove.
2070 (_Use_facet_failure_handle): Remove.
2071 * src/locale.cc: Remove definitions.
2072 * src/locale-inst.cc: And here.
2073
2074 * testsuite/22_locale/ctor_copy_dtor.cc (test01): Fixup. Add tests.
2075
2076 * src/localename.cc (locale::facet::_S_create_c_locale): Properly
2077 create and error-check underlying locale object.
2078 (locale::facet::_S_destroy_c_locale): Add, take care of properly
2079 tearing down underlying locale object.
2080 * include/bits/localefwd.h (locale::facet): Declare.
2081 * testsuite/22_locale/members.cc: Don't test "fr_FR" locale for
2082 correctness, as glibc apparently has incorrect info in it. Test
2083 with it when it works again.....
2084
2085 * include/bits/localefwd.h (locale::_Impl::__vec_string):
2086 Remove. Number of categories is fixed at six, so just simplify and
2087 make this an array of strings.
2088 (locale::_Impl::_M_has_name): Remove.
2089 (locale::_Impl::_M_name): Remove.
2090 (locale::_Impl::_M_category_names): Turns into...
2091 (locale::_Impl::_M_names): ...this.
2092 (locale::_Impl::_M_has_same_name()): New function.
2093 * src/localename.cc (locale::_Impl::~_Impl()): Remove here.
2094 (locale::_Impl::_Impl(size_t __refs, string __str)): Simplify
2095 signature.
2096 * src/locale.cc (locale::name()): Construct mangled name
2097 accurately reflecting combined locale categories.
2098
2099 * src/locale.cc (locale::classic()): Don't initialize here.
2100 * src/localename.cc (locale::_Impl::_Impl(size_t __num, size_t
2101 __refs, bool __has_name, string __str): Do it here.
2102
2103 * include/bits/localefwd.h: _S_categories_num to
2104 _S_num_categories. _S_facets_num to _S_num_facets.
2105 (locale::id::id()): Explicitly set _M_index to zero.
2106 * src/locale.cc: Same.
2107
2108 * src/locale.cc: (locale::locale(const char*)): Construct named
2109 locales uniquely.
2110
2111 * src/locale.cc: Remove numpunct_byname ctors.
2112 * testsuite/22_locale/numpunct_byname.cc: New file.
2113 * testsuite/22_locale/numpunct.cc: New file.
2114
2115 * include/bits/localefwd.h (class locale): Change data members to
2116 protected, from private.
2117 (_Impl::_M_get_c_locale): Add member function.
2118 (locale::facet::_M_get_global_impl()): Add member function.
2119 * include/bits/locale_facets.h (numpunct::_M_init): Change to take
2120 a __c_locale pointer.
2121 (numpunct::numpunct( __c_locale*, size_t)): Add additonal ctor for
2122 named locales.
2123 * testsuite/22_locale/members.cc: New file, test name and combine.
2124
2125 * include/bits/locale_facets.h (class numpunct): Remove class
2126 _Punct and _Numpunct. Rewrite class numpunct to be correct for
2127 named locales.
2128 * include/bits/localefwd.h (locale::_Imp::_M_c_locale): Add.
2129 * src/localename.cc (_Impl::~_Impl()): Call __frelocale.
2130 (_Imp::_Impl(size_t, size_t, bool, string)) Initialize _M_c_locale.
2131 * src/locale-inst.cc: Remove _Numpunct, _Punct instantiations.
2132 * testsuite/22_locale/numpunct_char_members.cc: New file.
2133
2134 2001-01-28 Gabriel Dos Reis <gdr@codesourcery.com>
2135
2136 * testsuite/README: Add more comment.
2137 * testsuite/lib/libstdc++.exp: Tweak comment.
2138
2139 2001-01-26 Benjamin Kosnik <bkoz@kredhat.com>
2140
2141 * libsupc++/pure.cc (writestr): Just use cstdio and std::fputs.
2142
2143 2001-01-25 Loren J. Rittle <ljrittle@acm.org>
2144
2145 * testsuite/21_strings/inserters_extractors.cc: Remove
2146 explicit reference to 'testsuite/'.
2147
2148 2001-01-25 Richard Henderson <rth@redhat.com>
2149
2150 * config/cpu/alpha/bits/atomicity.h: Remove tricky .subsetion
2151 bits. Fixes Tru64 build issues.
2152
2153 2001-01-25 Michael Sokolov <msokolov@ivan.Harhan.ORG>
2154
2155 * acinclude.m4 (GLIBCPP_CHECK_GNU_MAKE): Bourne shell portability bug
2156 (use ${MAKE-make}, not ${MAKE:-make}).
2157 * aclocal.m4, configure: Regenerate.
2158
2159 2001-01-25 Mark Mitchell <mark@codesourcery.com>
2160
2161 * src/ios.cc: Remove accidental inclusion of <stdio.h> in last
2162 checkin.
2163
2164 * src/Makefile.am (sources): Add globals.cc.
2165 * src/Makefile.in: Regenerated.
2166 * src/globals.cc: New file.
2167 * src/ios.cc (cin): Don't define here, just declare extern.
2168 (cout): Likewise.
2169 (cerr): Likewise.
2170 (clog): Likewise.
2171 (wcin): Likewise.
2172 (wcout): Likewise.
2173 (wcerr): Likewise.
2174 (wclog): Likewise.
2175
2176 2001-01-25 Phil Edwards <pme@sources.redhat.com>
2177
2178 * include/bits/std_iterator.h: Do not include stl_relops.h.
2179 * include/bits/std_numeric.h: Ditto.
2180 * include/bits/stl_algobase.h: Ditto.
2181 * include/bits/stl_relops.h: Add comment warning about problems.
2182
2183 2001-01-25 Gabriel Dos Reis <gdr@codesourcery.com>
2184
2185 * testsuite/27_io/*.cc: Remove explicit reference to 'testsuite/'
2186 in testcases. Prepare for the DejaGnu based framework.
2187 * mkcheck.in: Adjust call to tests_flags. Don't mmkdir testsuite
2188 directory -- it is now mkcheck working directory.
2189 * tests_flags.in: Remove reference to $(top_srcdir). Use
2190 ${SRC_DIR} instead.
2191 * Makefile.am (check, check-install): Change mkcheck invocation
2192 logic.
2193 * Makefile.in: Regenerate.
2194
2195 2001-01-24 Mark Mitchell <mark@codesourcery.com>
2196
2197 * config/os/aix/bits/atomicity.h (__compare_and_swap): Remove.
2198 (__always_swap): Likewise.
2199
2200 2001-01-23 Chris Demetriou <cgd@broadcom.com>
2201
2202 * libsupc++/exception_support.cc (__terminate_func): Remove
2203 declaration.
2204 (__terminate_func_ptr): New typedef.
2205 (__terminate, __terminate_set_func): New extern function
2206 prototypes.
2207 (std::terminate): Use __terminate function.
2208 (std::set_terminate): Use __terminate_set_func function.
2209
2210 2001-01-23 Benjamin Kosnik <bkoz@redhat.com>
2211
2212 * configure.target: Just use os_include_dir always.
2213 * configure.in: Remove calls to GLIBCPP_CHECK_CTYPE_SUPPORT.
2214 Link atomicity files and ctype files here.
2215 * configure: Regenerate.
2216 * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): Remove.
2217 (GLIBCPP_ENABLE_ATOMICITY): Remove.
2218 * aclocal.m4: Regenerate.
2219
2220 2001-01-23 Chris Demetriou <cgd@broadcom.com>
2221
2222 * configure.in: Place definition of MULTISUBDIR in
2223 libsupc++/Makefile as is done for src/Makefile.
2224 * configure: Regenerate.
2225
2226 2001-01-23 Phil Edwards <pme@sources.redhat.com>
2227
2228 * acinclude.m4: Cosmetic changes only.
2229 * aclocal.m4: Regenerated.
2230 * configure: Regenerated.
2231 * configure.target: Update documented list of changed variables.
2232 * docs/html/install.html: Fix typo.
2233 * docs/html/20_util/howto.html: More notes on auto_ptr.
2234 * docs/html/27_io/howto.html: More notes on streabufs.
2235 * docs/html/faq/index.html: Add rel_ops problem and mention the
2236 DEC as(1) .subsection difficulty.
2237 * docs/html/faq/index.txt: Regenerated.
2238
2239 2001-01-23 Mark Mitchell <mark@codesourcery.com>
2240
2241 * ainclude.m4 (GLIBCPP_CHEC_MATH_DECLS_AND_LINKAGE_1): New macro.
2242 (GLIBCPP_CHECK_MATH_SUPPORT): Use it.
2243 (GLIBCPP_CHECK_TYPE_SUPPORT): Don't autoconf ctype information if
2244 its already provided in config.target.
2245 * aclocal.m4: Regenerated.
2246 * configure: Likewise.
2247 * configure.target: Set ctype_include_dir for lots of systems.
2248 * libsupc++/Makefile.am: Explicitly include --tag disable-shared.
2249 * libsupc++/Makefile.in: Regenerated.
2250
2251 2001-01-23 Gabriel Dos Reis <gdr@codesourcery.com>
2252
2253 * testsuite/lib/libstdc++.exp: Improve. Add support for @xxx#
2254 keyword capability.
2255
2256 * testsuite/README: Add comment.
2257
2258 2001-01-21 Phil Edwards <pme@sources.redhat.com>
2259
2260 * docs/html/configopts.html: Update for current status. Fix HTML.
2261 * docs/html/install.html: Update for current status.
2262
2263 2001-01-20 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2264
2265 * testsuite/libstdc++.tests/tests.exp: New file.
2266 * testsuite/lib/libstdc++.exp: Itou.
2267 * testsuite/README: Itou.
2268
2269 2001-01-20 Gabriel Dos Reis <gdr@codesourcery.com>
2270
2271 * tests_flags.in: Just output the bare minimum to run tests.
2272 Let's the caller do its own arrangement.
2273
2274 * mkcheck.in: Rename INC_PATH to INCLUDES. Adjust flags
2275 computations.
2276
2277 2001-01-19 Gabriel Dos Reis <gdr@codesourcery.com>
2278
2279 * testsuite/17_intro: Prepare testcases for new style DejaGnu
2280 framework.
2281
2282 2001-01-18 Gabriel Dos Reis <gdr@codesourcery.com>
2283
2284 * testsuite/libstdc++.tests, testsuite/lib: New directories.
2285
2286 2001-01-17 Loren J. Rittle <ljrittle@acm.org>
2287
2288 * mkcheck.in: Construct file names that match $objdir structure.
2289 * testsuite/27_io/filebuf_members-1.txt: New file.
2290 * testsuite/27_io/ifstream_members-1.txt: New file.
2291 * testsuite/27_io/ostream_inserter_char-1.txt: New file.
2292
2293 * testsuite/27_io/ios_base_members_static.cc (test02): Add test.
2294 * testsuite/27_io/ios_base_members_static-1.tst: Add expected output.
2295
2296 2001-01-17 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2297
2298 * testsuite/27_io/istream_sentry.cc (test02): Fix.
2299
2300 2001-01-17 Benjamin Kosnik <bkoz@redhat.com>
2301
2302 libstdc++/1605
2303 * include/bits/ios_base.h (ios_base::failure): Tighten up throw specs.
2304 * src/ios.cc (ios_base::failure): Make definitions match.
2305 * libsupc++/typeinfo (class bad_typeid): Add throw specs.
2306 (class bad_cast): Same.
2307 * libsupc++/exception (class exception): Add throw specs.
2308 * libsupc++/exception_support.cc (set_terminate): Add throw specs.
2309 (set_unexpected): Same.
2310 (uncaught_exception): Same.
2311 (what): Same.
2312
2313 * docs/html/17_intro/C++STYLE (classname): Fix.
2314
2315 2001-01-16 Mark Mitchell <mark@codesourcery.com>
2316
2317 * src/gen-num-limits.cc (INSTANTIATIONS): New macro.
2318 Use it do explicitly instantiate predicate<T> and value<T> for
2319 all the builtin Ts.
2320
2321 2001-01-16 Nathan Sidwell <nathan@codesourcery.com>
2322
2323 * libsupc++/exception_support.cc (__cp_pop_exception): Fix
2324 uninitialized thinko in last change.
2325
2326 2001-01-16 Mark Mitchell <mark@codesourcery.com>
2327
2328 * libsupc++/exception_support.cc (__cp_pop_exception): Change
2329 prototype.
2330
2331 2001-01-16 Benjamin Kosnik <bkoz@redhat.com>
2332
2333 * docs/html/17_intro/C++STYLE (classname): Add more existing
2334 and stylish patterns.
2335
2336 libstdc++/944
2337 * include/bits/istream.tcc (istream::sentry::sentry()): Set
2338 failbit if the state of the stream is not good.
2339 * testsuite/27_io/istream_sentry.cc (test02): Add test.
2340 * testsuite/27_io/istream_manip.cc (test01): Modify.
2341
2342 libstdc++/1019
2343 reported by Paolo Carlini <pcarlini@unitus.it>
2344 * include/bits/istream.tcc (operator>>(istream&, string&)): Fix.
2345 * testsuite/21_strings/inserters_extractors.cc (test08): Add test.
2346
2347 libstdc++/1057
2348 * include/bits/std_streambuf.h (setp): Set _M_buf_size correctly.
2349 * include/bits/streambuf.tcc (xsputn): Remove outside if clause.
2350 (xsgetn): Same. Simplify.
2351 * testsuite/27_io/streambuf.cc (test04): Add testcases.
2352
2353 reported by Larry Evans <jcampbell3@prodigy.net>
2354 * include/bits/streambuf.tcc (streambuf::xsputn): Just check for
2355 equality with eof on returned value from overflow.
2356
2357 2001-01-14 Andreas Jaeger <aj@suse.de>
2358
2359 * libio/libio.h: Add test for glibc 2.0.
2360
2361 2001-01-12 Benjamin Kosnik <bkoz@redhat.com>
2362
2363 * config/os/djgpp/bits/*: Fix dates.
2364
2365 * include/bits/basic_string.h (_S_find(const _CharT* __beg, const
2366 _CharT* __end, _CharT __c): Remove.
2367 * include/bits/basic_string.tcc: Substitute traits::find for _S_find.
2368 * include/bits/char_traits.h: Tweak.
2369
2370 2001-01-12 Laurynas Biveinis <lauras@softhome.net>
2371
2372 * acinclude.m4 (GLIBCPP_CHECK_CTYPE_SUPPORT): check for DJGPP <ctype.h>
2373 (LIB_AC_PROG_CXX): replace [/\\] with [\\/] to work around older
2374 bash bug.
2375 * aclocal.m4: regenerated.
2376 * configure.target: set os_include_dir to config/os/djgpp under DJGPP.
2377 * configure: regenerated.
2378 * config/os/djgpp, config/os/djgpp/bits: new directories.
2379 * config/os/djgpp/bits/ctype_base.h,
2380 config/os/djgpp/bits/ctype_inline.h,
2381 config/os/djgpp/bits/ctype_noninline.h,
2382 config/os/djgpp/bits/os_defines.h: new files.
2383
2384 2001-01-11 Joseph S. Myers <jsm28@cam.ac.uk>
2385
2386 * include/c_std/bits/std_cstdio.h: Undef printf.
2387
2388 2001-01-10 Benjamin Kosnik <bkoz@redhat.com>
2389
2390 * src/ios.cc: Fix typo: change cout->wcout.
2391
2392 * src/Makefile.am (targetincludep): Fix for version-specific-libs.
2393 * src/Makefile.in: Regenerate.
2394
2395 2001-01-10 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2396
2397 * include/bits/std_complex.h: Fix a typo.
2398
2399 2001-01-09 Benjamin Kosnik <bkoz@redhat.com>
2400 <kainz@ilm.com>
2401
2402 Fixes for libstdc++/1576
2403 * src/stdstreams.cc: Initialize with NULL filebuf. Delete
2404 file, move contents into....
2405 * src/ios.cc: ...Here. Put defines for iostreams objects and
2406 initialization routines into one file to simplify DSO interaction.
2407 * include/bits/std_iostream.h: Touch.
2408 * include/bits/ios_base.h (_S_synched_with_stdio): Make static.
2409 * src/Makefile.am (sources): Remove stdstreams.cc.
2410 * src/Makefile.in: Regenerate.
2411
2412 2001-01-10 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
2413
2414 * tests_flags.in (check_directory): Fix typo.
2415
2416 2001-01-09 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
2417
2418 * include/bits/std_complex.h: Fix a typo.
2419
2420 2001-01-09 Loren J. Rittle <ljrittle@acm.org>
2421
2422 * config/os/bsd/freebsd/bits/ctype_inline.h (is): (Make right
2423 code path:) Remove magic constants and restructure to handle
2424 ctype.h bit mask layout changes more gracefully. (Make fast
2425 code path:) Use __maskrune (), if available.
2426 (is): Remove special case for digit and xdigit masks.
2427
2428 2001-01-09 Robert Lipe <robertlipe@usa.net>
2429
2430 * include/c_std/bits/std_ctime.h: Undefine difftime.
2431
2432 2001-01-09 Alexandre Oliva <aoliva@redhat.com>
2433
2434 * src/gen-num-limits.cc (signal_adapter): New template function.
2435 (signal_handler): Use it, instead of signal.
2436 (traps<T>): Likewise. Install SIGTRAP handler too. Don't
2437 require both tests to trap to set trap_flag.
2438
2439 2001-01-08 Benjamin Kosnik <bkoz@redhat.com>
2440
2441 * include/bits/fpos.h (fpos:::fpos(streamoff __pos)): Explicitly
2442 initialize mbstate_t member, name offset data members *off, not pos.
2443 * include/bits/fstream.tcc (filebuf::filebuf): Same.
2444
2445 2001-01-08 Benjamin Kosnik <bkoz@redhat.com>
2446
2447 reported by Chris G. Demetriou <cgd@sibyte.com>
2448 * configure.in: Change -linux-* to -linux*.
2449 * configure: Regenerate.
2450
2451 2001-01-05 Benjamin Kosnik <bkoz@redhat.com>
2452
2453 Fix 27_io/filebuf_members.cc
2454 * src/localename.cc (locale::_Impl::_Impl(const _Impl& __imp,
2455 const string& __name, category __cat, size_t __refs): Set
2456 _M_has_name with _M_name.
2457 * include/bits/localefwd.h (locale::operator!=): Protect member
2458 function call with this->.
2459 * src/locale.cc (locale::operator==): Make fast checks first.
2460 * include/bits/basic_ios.tcc (basic_ios::init): Simplify.
2461
2462 * include/bits/ios_base.h (_M_synced_with_stdio): Add data member
2463 to ios_base::Init.
2464 * src/ios.cc (ios_base::Init::Init): Initialize here.
2465 (ios_base::sync_with_stdio): Set here.
2466
2467 2001-01-04 Loren J. Rittle <ljrittle@acm.org>
2468
2469 * config/c_io_stdio.cc (__basic_file<_CharT>::sys_open()): On
2470 systems that support it, call dup() before fdopen().
2471
2472 2001-01-03 Benjamin Kosnik <bkoz@redhat.com>
2473
2474 * include/c_std/bits/std_cwctype.h: Include std_cwchar.h for wint_t.
2475 * testsuite/17_intro/header_cwctype.cc (main): New file.
2476
2477 * src/Makefile.am (base_headers): Change.
2478 * include/bits/std_string.h: And here.
2479 * include/bits/string.tcc: Tweaks, move to...
2480 * include/bits/basic_string.tcc: ...Here.
2481 * src/string-inst.cc: Simplify, just instantiate the whole class,
2482 not member-by-member.
2483
2484 2001-01-02 Benjamin Kosnik <bkoz@redhat.com>
2485
2486 * acinclude.m4 (GLIBCPP_ENABLD_CSTDIO): Add in default value.
2487 * aclocal.m4: Regenerate.
2488 * configure: Regenerate.
2489
2490 * include/bits/c++config (__GLIBCPP__): Bump version number.
2491
2492 * ChangeLog: Start new log for year 2001
2493 * ChangeLog-2000: New file.
2494
2495 * docs/html/configopts.html: Make sure default values are current,
2496 add commentary.
2497
2498 2001-01-01 Benjamin Kosnik <bkoz@fillmore.redhat.com>
2499
2500 * include/c_std/bits/std_cwchar.h: Same.
2501 * testsuite/17_intro/header_cwchar.cc: Same.
2502 * include/c_std/bits/std_ctime.h: Same.
2503 * testsuite/17_intro/header_ctime.cc: Same.
2504 * include/c_std/bits/std_cstdlib.h: Same.
2505 Clean up undefs, make consistent with cwchar and cmath, etc.
2506 * testsuite/17_intro/header_cstdlib.cc: Same.
2507 * include/c_std/bits/std_cstdio.h: Same here.
2508 * testsuite/17_intro/header_cstring.cc: Same.
2509 * include/c_std/bits/std_cstring.h: Include std_cstddef.h for size_t.
2510 * testsuite/17_intro/header_cstring.cc: New file. Check for
2511 size_t in namespace std.
2512
2513 * include/c_std/bits/std_cwchar.h: Explicit checks for mbstate_t.
2514 * acconfig.h (HAVE_MBSTATE_T): Add.
2515 * config.h.in: Regenerate.
2516 * acinclude.m4(GLIBCPP_CHECK_WCHAR_T_SUPPORT): Always test for
2517 mbstate_t.
2518 * aclocal.m4: Regenerate.
2519 * configure: Regenerate.
2520 * testsuite/17_intro/headers_c++.cc: New file.
2521 * testsuite/17_intro/headers_c.cc: Small changes.
2522
2523 2001-01-01 David Billinghurst <David.Billinghurst@riotinto.com>
2524
2525 * tests_flags.in: Fix typo in usage.
2526
2527 * tests_flags.in: Set target specific LIBS for cygwin.