Danny Smith
944effb637
configure.target: Add os_include_dir for mingw32* target.
...
* configure.target: Add os_include_dir for mingw32* target.
* docs/html/17_intro/porting.texi: Mention mingw32 as target benefiting from
_GLIBCPP_AVOID_FSEEK.
* config/os/mingw32/bits/ctype_base.h: New file.
* config/os/mingw32/bits/ctype_inline.h: New file.
* config/os/mingw32/bits/ctype_noninline.h: New file.
* config/os/mingw32/bits/os_defines.h: New file.
From-SVN: r46857
2001-11-08 20:52:29 +00:00
GCC Administrator
c71541c273
Daily bump.
...
From-SVN: r46842
2001-11-08 08:16:41 +00:00
Nathan Myers
2dac8f87e8
index.html (5.8): New entry on ABIs.
...
2001-11-07 Nathan Myers <ncm@cantrip.org>
* docs/html/faq/index.html (5.8): New entry on ABIs.
* docs/html/faq/index.txt: Regenerate.
From-SVN: r46836
2001-11-07 21:08:53 +00:00
Phil Edwards
64ef1ee2d5
index.html: Explain libsupc++, mention 'long long' bugfixes on Solaris.
...
2001-11-07 Phil Edwards <pme@gcc.gnu.org>
* docs/html/faq/index.html: Explain libsupc++, mention 'long long'
bugfixes on Solaris.
* docs/html/faq/index.txt: Regenerate.
From-SVN: r46828
2001-11-07 16:47:39 +00:00
GCC Administrator
ab901443dc
Daily bump.
...
From-SVN: r46821
2001-11-07 08:16:17 +00:00
Phil Edwards
f448ac15ff
acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Run the test in LANG_CPLUSPLUS mode.
...
2001-11-06 Phil Edwards <pme@gcc.gnu.org>
* acinclude.m4 (GLIBCPP_ENABLE_LONG_LONG): Run the test in
LANG_CPLUSPLUS mode.
* aclocal.m4: Regenerate.
* configure: Regenerate.
From-SVN: r46815
2001-11-06 22:50:50 +00:00
GCC Administrator
25cece2fbd
Daily bump.
...
From-SVN: r46803
2001-11-06 08:16:43 +00:00
Phil Edwards
eb6e2e5bef
porting.texi: Move...
...
2001-11-05 Phil Edwards <pme@gcc.gnu.org>
* porting.texi: Move...
* docs/html/17_intro/porting.texi: ...to here.
* docs/html/Makefile: Add rule to rebuild...
* docs/html/17_intro/porting.html: ...this. New file.
From-SVN: r46797
2001-11-06 00:18:37 +00:00
Felix Natter
a5356269d3
porting-howto.xml: check in v0.9.4
...
2001-11-05 Felix Natter <fnatter@gmx.net>
* docs/html/17_intro/porting-howto.xml: check in v0.9.4
* docs/html/17_intro/porting-howto.html: regenerate
From-SVN: r46793
2001-11-05 21:54: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
Egor Duda
b8a2a84bbe
ctype_noninline.h (ctype<char>::do_toupper(char __c)): Check for proper character class.
...
2001-11-01 Egor Duda <deo@logos-m.ru>
* config/os/newlib/bits/ctype_noninline.h
(ctype<char>::do_toupper(char __c)): Check for proper character class.
(ctype<char>::do_tolower(char __c)): Ditto.
From-SVN: r46708
2001-11-02 02:37:44 +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
Benjamin Kosnik
1a808622b6
2001-10-26 Benjamin Kosnik <bkoz@redhat.com>
...
libstdc++/4503
* config/locale/codecvt_specializations_ieee_1003.1-200x.h
(__enc_traits::~__enc_traits): Fix.
(__enc_traits::_M_init): Add error checking.
From-SVN: r46532
2001-10-26 07:21:56 +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
Phil Edwards
f456d34528
documentation.html: Fix typo.
...
2001-10-25 Phil Edwards <pme@gcc.gnu.org>
* docs/html/documentation.html: Fix typo.
From-SVN: r46497
2001-10-25 21:17:34 +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
Hans-Peter Nilsson
fe90b4e623
Tweak last entry to that of the type_traits.h commit message
...
From-SVN: r46388
2001-10-20 19:45:41 +00:00
Brendan Kehoe
8829f27a76
type_traits.h (__Boolean): Renamed template from _Bool.
...
2001-10-20 Brendan Kehoe <brendan@zen.org>
* include/bits/type_traits.h (__Boolean): Renamed template from _Bool.
(__true_type, __false_type): Change usage.
* src/string-inst.cc (__destroy_aux): Change third parm to be
__false_type instead of _Bool<false>.
* src/misc-inst.cc (__uninitialized_fill_n_aux,
__uninitialized_copy_aux): Likewise.
From-SVN: r46387
2001-10-20 19:28:50 +00:00
Brendan Kehoe
1499566441
type_traits.h (_Bool): Removed this type.
...
* bits/type_traits.h (_Bool): Removed this type.
(__true_type, __false_type): Change to be plain structs.
* src/string-inst.cc (__destroy_aux): Change third parm to be
__false_type instead of _Bool<false>.
* src/misc-inst.cc (__uninitialized_fill_n_aux,
__uninitialized_copy_aux): Likewise.
From-SVN: r46383
2001-10-20 11:42:39 -04:00