GCC Administrator
6ad8427bba
Daily bump.
...
From-SVN: r47137
2001-11-18 08:16:11 +00:00
GCC Administrator
b605ed61ea
Daily bump.
...
From-SVN: r47115
2001-11-17 08:16:21 +00:00
Paolo Carlini
9c8e9f6296
stl_deque.h (deque::erase()): Fix memory leak.
...
2001-11-16 Paolo Carlini <pcarlini@unitus.it>
* include/bits/stl_deque.h (deque::erase()): Fix memory leak.
From-SVN: r47103
2001-11-16 21:00:59 +00:00
GCC Administrator
45fb7df53e
Daily bump.
...
From-SVN: r47083
2001-11-16 08:16:11 +00:00
Bjørn Wennberg
2a692463e5
stl_alloc.h (alloc): Update to use __mem_interface.
...
libstc++/4219
* include/bits/stl_alloc.h (alloc): Update to use __mem_interface.
(single_client_alloc): Likewise.
From-SVN: r47044
2001-11-15 08:52:23 +00:00
GCC Administrator
ab3fdb7fa9
Daily bump.
...
From-SVN: r47042
2001-11-15 08:16:43 +00:00
GCC Administrator
586dbaaf45
Daily bump.
...
From-SVN: r47004
2001-11-14 08:17:31 +00:00
GCC Administrator
6780be7276
Daily bump.
...
From-SVN: r46978
2001-11-13 08:16:49 +00:00
GCC Administrator
d676d94e5b
Daily bump.
...
From-SVN: r46935
2001-11-12 08:16:13 +00:00
GCC Administrator
6f38bb171d
Daily bump.
...
From-SVN: r46923
2001-11-11 08:16:15 +00:00
GCC Administrator
5050bfbec2
Daily bump.
...
From-SVN: r46915
2001-11-10 08:16:12 +00:00
GCC Administrator
594f48d917
Daily bump.
...
From-SVN: r46876
2001-11-09 08:20:48 +00:00
GCC Administrator
c71541c273
Daily bump.
...
From-SVN: r46842
2001-11-08 08:16:41 +00:00
GCC Administrator
ab901443dc
Daily bump.
...
From-SVN: r46821
2001-11-07 08:16:17 +00:00
GCC Administrator
25cece2fbd
Daily bump.
...
From-SVN: r46803
2001-11-06 08:16:43 +00:00
GCC Administrator
a33b51de36
Daily bump.
...
From-SVN: r46783
2001-11-05 08:16:40 +00:00
GCC Administrator
5f850402c7
Daily bump.
...
From-SVN: r46771
2001-11-04 08:17:44 +00:00
GCC Administrator
6545a2b524
Daily bump.
...
From-SVN: r46729
2001-11-03 08:16:45 +00:00
Loren J. Rittle
1b5e9d7e1b
stl_threads.h (_Atomic_swap): Only enable path when platform supports __GTHREAD_MUTEX_INIT.
...
* include/bits/stl_threads.h (_Atomic_swap): Only enable path
when platform supports __GTHREAD_MUTEX_INIT.
From-SVN: r46725
2001-11-02 22:59:46 +00:00
Phil Edwards
222485455e
acconfig.h: Update comments.
...
2001-11-02 Phil Edwards <pme@gcc.gnu.org>
* acconfig.h: Update comments.
* acinclude.m4 (GLIBCPP_ENABLE_C99): Move strtoll, strtoull tests...
(GLIBCPP_ENABLE_LONG_LONG): ...to here. Don't check enable_c99.
* aclocal.m4: Regenerate.
* config.h.in: Regenerate.
* configure: Regenerate.
* include/bits/boost_concept_check.h: Unconditionally compile uses
of 'long long' which require only compiler support, not C lib support.
* include/bits/cpp_type_traits.h: Likewise.
* include/bits/std_limits.h: Likewise.
* include/bits/type_traits.h: Likewise.
* src/concept-inst.cc: Likewise.
* src/limits.cc: Likewise.
* include/c_shadow/stdlib.h: Compile conditionally on _GLIBCPP_USE_C99
instead of _GLIBCPP_USE_LONG_LONG.
* include/c_shadow/bits/std_cstdlib.h: Likewise.
From-SVN: r46723
2001-11-02 22:31:03 +00:00
Phil Edwards
729e3d3f01
c_io_stdio.h: Correct grammar in comments.
...
2001-11-02 Phil Edwards <pme@gcc.gnu.org>
* config/io/c_io_stdio.h: Correct grammar in comments.
* docs/doxygen/Intro.3: Expand "top-level" man page.
* docs/doxygen/doxygroups.cc: New module definitions (comments).
* docs/doxygen/mainpage.doxy: Tweaks.
* docs/doxygen/run_doxygen: Update Doxygen version, massage man pages.
Add @file hooks so that headers are considered to be documented.
* include/bits/basic_ios.h, include/bits/basic_file.h,
include/bits/basic_string.h, include/bits/boost_concept_check.h,
include/bits/char_traits.h, include/bits/codecvt.h,
include/bits/concept_check.h, include/bits/cpp_type_traits.h,
include/bits/fpos.h, include/bits/gslice.h, include/bits/gslice_array.h,
include/bits/indirect_array.h, include/bits/ios_base.h,
include/bits/locale_facets.h, include/bits/localefwd.h,
include/bits/mask_array.h, include/bits/pthread_allocimpl.h,
include/bits/slice.h, include/bits/slice_array.h,
include/bits/std_algorithm.h, include/bits/std_bitset.h,
include/bits/std_complex.h, include/bits/std_deque.h,
include/bits/std_fstream.h, include/bits/std_functional.h,
include/bits/std_iomanip.h, include/bits/std_ios.h,
include/bits/std_iosfwd.h, include/bits/std_iostream.h,
include/bits/std_istream.h, include/bits/std_iterator.h,
include/bits/std_limits.h, include/bits/std_list.h,
include/bits/std_locale.h, include/bits/std_map.h,
include/bits/std_memory.h, include/bits/std_numeric.h,
include/bits/std_ostream.h, include/bits/std_queue.h,
include/bits/std_set.h, include/bits/std_sstream.h,
include/bits/std_stack.h, include/bits/std_streambuf.h,
include/bits/std_string.h, include/bits/std_utility.h,
include/bits/std_valarray.h, include/bits/std_vector.h,
include/bits/stl_algo.h, include/bits/stl_alloc.h,
include/bits/stl_bvector.h, include/bits/stl_construct.h,
include/bits/stl_deque.h, include/bits/stl_heap.h,
include/bits/stl_iterator.h, include/bits/stl_iterator_base_funcs.h,
include/bits/stl_iterator_base_types.h, include/bits/stl_list.h,
include/bits/stl_map.h, include/bits/stl_multimap.h,
include/bits/stl_multiset.h, include/bits/stl_numeric.h,
include/bits/stl_pair.h, include/bits/stl_pthread_alloc.h,
include/bits/stl_queue.h, include/bits/stl_raw_storage_iter.h,
include/bits/stl_relops.h, include/bits/stl_set.h,
include/bits/stl_stack.h, include/bits/stl_tempbuf.h,
include/bits/stl_threads.h, include/bits/stl_tree.h,
include/bits/stl_uninitialized.h, include/bits/stl_vector.h,
include/bits/stream_iterator.h, include/bits/streambuf_iterator.h,
include/bits/stringfwd.h, include/bits/type_traits.h,
include/bits/valarray_array.h, include/bits/valarray_meta.h:
Add hooks, tweak comments only.
* include/bits/stl_algobase.h (swap, min, iter_swap): Also
document these functions.
* include/bits/stl_function.h: Tweak link comments.
From-SVN: r46717
2001-11-02 17:38:11 +00:00
GCC Administrator
331f9c7889
Daily bump.
...
From-SVN: r46711
2001-11-02 08:16:12 +00:00
Paolo Carlini
2dc8835ac8
ios_manip_fmtflags.cc: Fix for non-interactive output.
...
2001-11-01 Paolo Carlini <pcarlini@unitus.it>
Benjamin Kosnik <bkoz@redhat.com>
* testsuite/27_io/ios_manip_fmtflags.cc: Fix for non-interactive
output.
* include/bits/locale_facets.tcc (num_put::do_put(bool)): Fix.
Co-Authored-By: Benjamin Kosnik <bkoz@redhat.com>
From-SVN: r46709
2001-11-02 03:48:09 +00:00
Gabriel Dos Reis
2643b009f9
* include/bits/std_complex.h (abs): Fix thinko.
...
From-SVN: r46700
2001-11-01 18:42:13 +00:00
Phil Edwards
4d16bdbbf6
re PR libstdc++/3666 (Invalid concept-checking code.)
...
2001-11-01 Phil Edwards <pme@gcc.gnu.org>
* acinclude.m4: Fix spacing.
(GLIBCPP_ENABLE_CONCEPT_CHECKS): New macro.
* configure.in: Call here.
* acconfig.h: Add _GLIBCPP_CONCEPT_CHECKS.
* include/bits/boost_concept_check.h: Fix headers.
(__function_requires): Make inline.
* include/bits/c++config (_GLIBCPP_CONCEPT_CHECKS): Remove.
* aclocal.m4: Regenerate.
* config.h.in: Regenerate.
* configure: Regenerate.
Move trailing ';' inside macro, PR libstdc++/3666.
* include/bits/concept_check.h: Add semicolon.
* include/bits/stl_algo.h: Remove semicolon.
* include/bits/stl_algobase.h: Likewise.
* include/bits/stl_deque.h: Likewise.
* include/bits/stl_heap.h: Likewise.
* include/bits/stl_iterator_base_funcs.h: Likewise.
* include/bits/stl_list.h: Likewise.
* include/bits/stl_map.h: Likewise.
* include/bits/stl_multimap.h: Likewise.
* include/bits/stl_multiset.h: Likewise.
* include/bits/stl_numeric.h: Likewise.
* include/bits/stl_queue.h: Likewise.
* include/bits/stl_set.h: Likewise.
* include/bits/stl_stack.h: Likewise.
* include/bits/stl_vector.h: Likewise.
* include/ext/hash_map: Likewise.
* include/ext/hash_set: Likewise.
* include/ext/slist: Likewise.
* src/concept-inst.cc: New file with explicit instantiations.
* src/Makefile.am (sources): Add here, with special build rules.
* src/Makefile.in: Regenerate.
From-SVN: r46697
2001-11-01 15:46:48 +00:00
Gabriel Dos Reis
b522a9ce44
* include/bits/std_complex.h (abs): Tweak.
...
From-SVN: r46693
2001-11-01 15:01:07 +00:00
Gabriel Dos Reis
3c4e7c5081
std_complex.h (_Norm_helper): New class template.
...
* include/bits/std_complex.h (_Norm_helper): New class template.
(norm): Tweak.
From-SVN: r46690
2001-11-01 11:00:57 +00:00
GCC Administrator
c1a31f6702
Daily bump.
...
From-SVN: r46687
2001-11-01 08:16:12 +00:00
Benjamin Kosnik
c7e2dba59a
codecvt.h: Add virtual member function declarations.
...
2001-10-31 Benjamin Kosnik <bkoz@redhat.com>
libstdc++/4749
* include/bits/codecvt.h: Add virtual member function declarations.
* src/codecvt.cc: Tweaks.
* testsuite/22_locale/codecvt.cc: Test compilation only,
non-required facets not required to have linkage.
From-SVN: r46685
2001-10-31 20:05:33 +00:00
Edward E. Meyer
51ad6d81f4
std_complex.h (complex::operator/=): Correct sign.
...
2001-10-31 Edward E. Meyer <edward.e.meyer@boeing.com>
libstdc++/4622
* include/bits/std_complex.h (complex::operator/=): Correct sign.
From-SVN: r46675
2001-10-31 08:45:57 +00:00
Paolo Carlini
9a304d1766
basic_string.h: Tweaks.
...
2001-10-30 Paolo Carlini <pcarlini@unitus.it>
Benjamin Kosnik <bkoz@redhat.com>
* include/bits/basic_string.h: Tweaks.
* include/bits/basic_string.tcc (string::_M_replace(iterator,
iterator, _ForwardIter, _ForwardIter, forward_iterator_tag): Fix.
* src/string-inst.cc: Tweaks, add instantiation.
* testsuite/21_strings/replace.cc (test02): Add test.
* testsuite/21_strings/assign.cc (test01): New file.
0
Co-Authored-By: Benjamin Kosnik <bkoz@redhat.com>
From-SVN: r46674
2001-10-31 08:27:20 +00:00
GCC Administrator
8f32f3ab9c
Daily bump.
...
From-SVN: r46672
2001-10-31 08:16:10 +00:00
Jakub Jelinek
6446106eb7
stl_deque.h (_M_new_elements_at_front): Use __throw_exception_again.
...
* include/bits/stl_deque.h (_M_new_elements_at_front): Use
__throw_exception_again.
(_M_new_elements_at_back): Likewise.
From-SVN: r46647
2001-10-30 19:14:20 +01:00
GCC Administrator
7968bdb0d4
Daily bump.
...
From-SVN: r46630
2001-10-30 08:16:13 +00:00
Benjamin Kosnik
99e9125d77
fstream.tcc (filebuf::showmanyc): Simplify.
...
2001-10-29 Benjamin Kosnik <bkoz@redhat.com>
libstdc++/3647
* include/bits/fstream.tcc (filebuf::showmanyc): Simplify.
* testsuite/27_io/filebuf.cc (test07): New test.
(test03): Modify showmanyc test.
From-SVN: r46610
2001-10-29 19:29:29 +00:00
GCC Administrator
4fdaa8786f
Daily bump.
...
From-SVN: r46602
2001-10-29 08:16:23 +00:00
GCC Administrator
82e255f2d4
Daily bump.
...
From-SVN: r46575
2001-10-28 07:16:09 +00:00
GCC Administrator
ba087771c0
Daily bump.
...
From-SVN: r46563
2001-10-27 07:16:40 +00:00
GCC Administrator
f8c8c2ff39
Daily bump.
...
From-SVN: r46530
2001-10-26 07:16:20 +00:00
Benjamin Kosnik
013e8d9783
locale_facets.tcc (time_get::_M_extract_name): Fix.
...
2001-10-25 Benjamin Kosnik <bkoz@redhat.com>
libstdc++/4542
* include/bits/locale_facets.tcc (time_get::_M_extract_name): Fix.
From-SVN: r46529
2001-10-26 06:23:47 +00:00
Benjamin Kosnik
6cf5465d43
[multiple changes]
...
2001-10-25 Benjamin Kosnik <bkoz@redhat.com>
libstdc++/4545
* include/bits/ostream.tcc (ostream::operator<<(streambuf*)): Fix
exceptions.
* include/bits/istream.tcc (istream::operator>>(streambuf*): Make
consistent, where possible.
* include/bits/streambuf.tcc: Tweak.
2001-10-25 Brendan Kehoe <brendan@zen.org>
libstdc++/4536
* bits/ostream.tcc (seekp): Scope use as ios_base::failbit.
* bits/istream.tcc (seekg): Likewise.
From-SVN: r46528
2001-10-26 05:32:06 +00:00
Benjamin Kosnik
e37beb47ba
os_defines.h: Set to 64 bit longs with __s390x__ only.
...
2001-10-25 Benjamin Kosnik <bkoz@redhat.com>
Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
* config/os/gnu-linux/bits/os_defines.h: Set to 64 bit longs with
__s390x__ only.
* include/bits/std_limits.h: Fix wchar_t issues.
* config/os/aix/bits/os_defines.h: Fix.
Co-Authored-By: Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
Co-Authored-By: Ulrich Weigand <uweigand@de.ibm.com>
From-SVN: r46523
2001-10-26 02:13:31 +00:00
Benjamin Kosnik
1403221a88
locale_facets.tcc (collate::do_transform): Fix.
...
2001-10-25 Benjamin Kosnik <bkoz@redhat.com>
* include/bits/locale_facets.tcc (collate::do_transform): Fix.
From-SVN: r46500
2001-10-25 22:56:07 +00:00
GCC Administrator
a878adf697
Daily bump.
...
From-SVN: r46484
2001-10-25 07:16:42 +00:00
GCC Administrator
b8c815e548
Daily bump.
...
From-SVN: r46461
2001-10-24 07:16:53 +00:00
Benjamin Kosnik
322821b9ad
Make -fno-exceptions work.
...
2001-10-23 Benjamin Kosnik <bkoz@redhat.com>
Make -fno-exceptions work.
* config/locale/c_locale_gnu.cc: Use functexcept.
* include/bits/c++config (__stl_assert): Remove.
(__STL_USE_EXCEPTIONS): Same.
(__STL_TRY): Same.
(__STL_CATCH_ALL): Same.
(__STL_THROW): Same.
(__STL_RETHROW): Same.
(__STL_NOTHROW): Same.
(__STL_UNWIND): Same.
* include/bits/pthread_allocimpl.h: Fix.
* include/bits/std_bitset.h: Same.
* include/bits/std_list.h: Same.
* include/bits/std_memory.h: Same.
* include/bits/std_queue.h: Same.
* include/bits/stl_alloc.h: Same.
* include/bits/stl_deque.h: Same.
* include/bits/stl_list.h: Same.
* include/bits/stl_queue.h: Same.
* include/bits/stl_tempbuf.h: Same.
* include/bits/stl_tree.h: Same.
* include/bits/stl_uninitialized.h: Same.
* include/bits/stl_vector.h: Same.
* include/ext/ropeimpl.h: Same.
* include/ext/slist: Same.
* include/ext/stl_hashtable.h: Same.
* include/ext/stl_rope.h: Same.
* libsupc++/new_op.cc: Include cstdlib.
* libsupc++/eh_personality.cc: Add exception_defines include. Use
__throw_exception_again, tweak.
* libsupc++/eh_aux_runtime.cc: Include stdlib for abort.
* libsupc++/vec.cc: Tweak.
* src/functexcept.cc: Remove unused arguments.
* testsuite/23_containers/bitset_members.cc: Tweak.
From-SVN: r46455
2001-10-24 02:37:56 +00:00
Benjamin Kosnik
f295ecef02
limits.h: Move to...
...
2001-10-22 Benjamin Kosnik <bkoz@redhat.com>
* config/cpu/i386/bits/limits.h: Move to...
* config/cpu/i386/bits/cpu_limits.h: ...here.
* config/cpu/cris/bits/cpu_limits.h: Same.
* config/cpu/powerpc/bits/cpu_limits.h: Same.
* config/cpu/x86-64/bits/cpu_limits.h: Same.
* config/cpu/alpha/bits/cpu_limits.h: New.
* config/cpu/m68k/bits/cpu_limits.h: New.
* config/cpu/s390/bits/cpu_limits.h: New.
* config/os/aix/bits/os_defines.h: Tweaks.
* config/os/bsd/freebsd/bits/os_defines.h: Same.
* config/os/bsd/netbsd/bits/os_defines.h: Same.
* config/os/djgpp/bits/os_defines.h: Same.
* config/os/generic/bits/os_defines.h: Same.
* config/os/gnu-linux/bits/os_defines.h: Same.
* config/os/hpux/bits/os_defines.h: Same.
* config/os/irix/irix5.2/bits/os_defines.h: Same.
* config/os/irix/irix6.5/bits/os_defines.h: Same.
* config/os/newlib/bits/os_defines.h: Same.
* config/os/solaris/solaris2.5/bits/os_defines.h: Same.
* config/os/solaris/solaris2.6/bits/os_defines.h: Same.
* config/os/solaris/solaris2.7/bits/os_defines.h: Same.
* include/bits/c++config: Remove include.
* include/bits/limits_generic.h: Remove.
* include/bits/std_limits.h: Include cpu_limits.h.
* include/Makefile.am: Fixup.
* src/limits.cc: Tweak.
* src/limits_generic.cc: Remove.
* src/gen-num-limits.cc: Remove.
* mknumeric_limits: Remove.
From-SVN: r46445
2001-10-23 21:40:31 +00:00
GCC Administrator
69f75f9daa
Daily bump.
...
From-SVN: r46428
2001-10-23 07:18:01 +00:00
GCC Administrator
8356429f83
Daily bump.
...
From-SVN: r46403
2001-10-22 07:18:17 +00:00
GCC Administrator
28d8dc3a10
Daily bump.
...
From-SVN: r46390
2001-10-21 07:16:09 +00:00