Paolo Carlini
a2ee914480
algo.h: Include <ext/algorithm>, tweak using declarations.
...
2001-12-31 Paolo Carlini <pcarlini@unitus.it>
* include/backward/algo.h: Include <ext/algorithm>,
tweak using declarations.
From-SVN: r48421
2001-12-31 09:10:39 +00:00
GCC Administrator
2b0ee5c813
Daily bump.
...
From-SVN: r48419
2001-12-31 08:16:10 +00:00
GCC Administrator
285f491adf
Daily bump.
...
From-SVN: r48398
2001-12-30 08:16:40 +00:00
Richard Henderson
9d430eb5b1
os_defines.h: Don't define __glibcpp_long_bits.
...
* config/os/hpux/bits/os_defines.h: Don't define __glibcpp_long_bits.
* config/os/hpux/bits/cpu_limits.h: New file.
* configure.target (CPULIMITSH): Use it.
From-SVN: r48379
2001-12-29 11:18:32 -08:00
GCC Administrator
fac510512c
Daily bump.
...
From-SVN: r48360
2001-12-29 08:16:09 +00:00
Richard Henderson
0b622c4a1e
cpu_limits.h: New file.
...
* config/cpu/ia64/bits/cpu_limits.h: New file.
* config/os/osf/osf5.0/bits/cpu_limits.h: New file.
* configure.target (CPULIMITSH): Use them.
From-SVN: r48358
2001-12-28 17:19:51 -08:00
Phil Edwards
5adf72de27
c++config: Move doxygen hook comment...
...
2001-12-28 Phil Edwards <pme@gcc.gnu.org>
* include/bits/c++config: Move doxygen hook comment...
* docs/doxygen/doxygroups.cc: ...to here.
From-SVN: r48353
2001-12-28 22:23:55 +00:00
Phil Edwards
be3996918f
re PR libstdc++/2054 (g++-3 rejects legal code, accepted by g++-2.95.2 (functors))
...
2001-12-28 Phil Edwards <pme@gcc.gnu.org>
PR libstdc++/2054
* include/bits/stl_algo.h (lower_bound): Relax concept checks.
* testsuite/ext/concept_checks.cc: New file.
From-SVN: r48351
2001-12-28 21:57:47 +00:00
Paolo Carlini
2c1bc4ebc9
stl_algo.h (count returning void, [...]): Move to...
...
2001-12-28 Paolo Carlini <pcarlini@unitus.it>
* include/bits/stl_algo.h (count returning void,
count_if returning void, __random_sample, random_sample,
random_sample_n, __is_heap, is_heap, is_sorted): Move to...
* include/ext/algorithm: ...here, new file.
* include/Makefile.am (ext_headers): Add new file.
* include/Makefile.in: Regenerate.
* testsuite/ext/headers.cc: Include <ext/algorithm>.
From-SVN: r48350
2001-12-28 18:46:54 +00:00
Paolo Carlini
bf95248579
basic_string.h (insert(__pos, __s, __n)): Optimize by avoiding temporaries and working in-place when possible.
...
2001-12-28 Paolo Carlini <pcarlini@unitus.it>
Nathan Myers <ncm@cantrip.org>
* include/bits/basic_string.h (insert(__pos, __s, __n)):
Optimize by avoiding temporaries and working in-place when possible.
(insert(__pos1, __str)): Call insert(__pos1, __str, __pos2, __n).
(insert(__pos1, __str, __pos2, __n)): Call insert(__pos, __s, __n).
* testsuite/21_strings/insert.cc (test02): New testcases.
Co-Authored-By: Nathan Myers <ncm@cantrip.org>
From-SVN: r48345
2001-12-28 14:00:18 +00:00
GCC Administrator
9346c2fffd
Daily bump.
...
From-SVN: r48340
2001-12-28 08:16:10 +00:00
Phil Edwards
bb2ae697ab
testsuite_hooks.h (gnu_counting_struct): Add.
...
2001-12-27 Phil Edwards <pme@gcc.gnu.org>
* testsuite/testsuite_hooks.h (gnu_counting_struct): Add.
* testsuite/23_containers/deque_ctor.cc: New file.
From-SVN: r48332
2001-12-27 21:51:28 +00:00
Hans-Peter Nilsson
a4b593ef7d
Fix typo in 2001-12-26 entry
...
From-SVN: r48331
2001-12-27 21:10:43 +00:00
Paolo Carlini
b206658a5f
locale_facets.tcc (collate::do_transform): Adjust implicit typename.
...
2001-12-27 Paolo Carlini <pcarlini@unitus.it>
* include/bits/locale_facets.tcc (collate::do_transform):
Adjust implicit typename.
* config/locale/messages_members_generic.h (messages::open,
messages::do_open, messages::do_get): Adjust implicit typename.
* config/locale/messages_members_gnu.h (messages::open,
messages::do_open, messages::do_get): Adjust Implicit typename.
* config/locale/messages_members_ieee_1003.1-200x.h (messages::open,
messages::do_open, messages::do_get): Adjust implicit typename.
From-SVN: r48327
2001-12-27 12:13:23 +00:00
GCC Administrator
110fa83701
Daily bump.
...
From-SVN: r48325
2001-12-27 08:16:09 +00:00
Phil Edwards
2d53d9ebe7
re PR libstdc++/3829 (missing template instantiations)
...
2001-12-27 Phil Edwards <pme@gcc.gnu.org>
PR libstdc++/3829
* src/misc-inst.cc: Many additional I/O-related instantiations.
* testsuite/27_io/instantiations.cc: New file.
From-SVN: r48324
2001-12-27 07:26:00 +00:00
Benjamin Kosnik
f591eb23d1
insert_iterator.cc (test02): Add.
...
2001-12-26 Benjamin Kosnik <bkoz@waller.constant.com>
* testsuite/24_iterators/insert_iterator.cc (test02): Add.
* testsuite/24_iterators/front_insert_iterator.cc (test02): Add.
* testsuite/24_iterators/back_insert_iterator.cc (test02): Add.
* testsuite/24_iterators/reverse_iterator.cc (test02): Add.
* include/bits/stl_iterator.h (reverse_iterator): Uglify member
current to _M_current.
(back_insert_iterator): Ulify member container to _M_container.
(front_insert_iterator): Same.
(insert_iterator): Same.
From-SVN: r48318
2001-12-26 21:56:17 +00:00
GCC Administrator
682bb08093
Daily bump.
...
From-SVN: r48313
2001-12-26 08:16:09 +00:00
Gabriel Dos Reis
4ff64fa9f0
std_limits.h (__glibcpp_xxx_is_modulo): New macros for signed types; default value is true.
...
* include/bits/std_limits.h (__glibcpp_xxx_is_modulo): New
macros for signed types; default value is true.
(numeric_limits<>::is_modulo): Get value from corresponding
__glibcpp_xxx_is_modulo macro.
From-SVN: r48311
2001-12-25 13:53:56 +00:00
GCC Administrator
cf161a952a
Daily bump.
...
From-SVN: r48309
2001-12-25 08:16:09 +00:00
GCC Administrator
6b98090114
Daily bump.
...
From-SVN: r48301
2001-12-24 08:16:39 +00:00
Jeff Law
b6e220169c
os_defines.h: Do not include <_sys/inttypes.h>.
...
* config/os/hpux/bits/os_defines.h: Do not include <_sys/inttypes.h>.
Twiddle return types for strtoll and strtoull to avoid using
intmax_t and uintmax-t.
From-SVN: r48293
2001-12-23 18:45:29 -07:00
GCC Administrator
4e87ff3fab
Daily bump.
...
From-SVN: r48283
2001-12-23 08:16:09 +00:00
Richard Henderson
affb9cddc0
* configure.target (CPULIMITSH): Fix typo in alpha case.
...
From-SVN: r48278
2001-12-22 13:13:44 -08:00
Jeff Law
d599b3fc8a
os_defines.h: Update to avoid #defines for strtoll and strtoull.
...
* config/os/hpux/bits/os_defines.h: Update to avoid #defines
for strtoll and strtoull.
From-SVN: r48271
2001-12-22 09:51:55 -07:00
GCC Administrator
5637a0ebb9
Daily bump.
...
From-SVN: r48263
2001-12-22 08:16:10 +00:00
Jeff Law
4585ae3de2
os_defines.h: Include <sys/_inttypes.h.
...
* config/os/hpux/bits/os_defines.h: Include <sys/_inttypes.h.
Define strtoll and strtoull. Provide prototypes for
__strtoll and __strtoull. Define _GLIBCPP_USE_LONG_LONG
unconditionally.
From-SVN: r48260
2001-12-21 17:42:46 -07:00
Jeff Law
415f500c76
* src/locale-inst.cc: Include <bits/std_cstdlib.h>
...
From-SVN: r48259
2001-12-21 17:39:43 -07:00
Jeff Law
75da3b53f8
* configure.target: Fix typo in hpux case.
...
From-SVN: r48258
2001-12-21 17:32:47 -07:00
Paolo Carlini
05b8581146
stl_rope.h (_Rope_iterator): Add local typedef to fix implicit typename problems.
...
2001-12-21 Paolo Carlini <pcarlini@unitus.it>
* include/ext/stl_rope.h (_Rope_iterator):
Add local typedef to fix implicit typename problems.
From-SVN: r48242
2001-12-21 13:08:35 +00:00
GCC Administrator
baf158869c
Daily bump.
...
From-SVN: r48234
2001-12-21 08:16:13 +00:00
GCC Administrator
c12b6f2a07
Daily bump.
...
From-SVN: r48196
2001-12-20 08:16:14 +00:00
Phil Edwards
82b61df521
Intro.3: New 'Allocators' module.
...
2001-12-19 Phil Edwards <pme@gcc.gnu.org>
* docs/doxygen/Intro.3: New 'Allocators' module.
* docs/doxygen/TODO: Update.
* docs/doxygen/doxygroups.cc: Update.
* docs/doxygen/run_doxygen: Update.
* include/bits/stl_alloc.h: Tweak doxygen hooks in comments.
* include/bits/std_memory.h: Doxygenate.
* include/bits/stl_iterator_base_types.h: Likewise.
* include/bits/stl_raw_storage_iter.h: Likewise.
* include/bits/stl_tempbuf.h: Likewise.
(get_temporary_buffer): Remove unused nonstandard overload.
* include/bits/stl_uninitialized.h: Likewise.
* include/bits/stl_iterator_base_types.h (input_iterator,
output_iterator, forward_iterator, bidirectional_iterator,
random_access_iterator): Move old names...
* include/backward/iterator.h: ...to here.
* include/bits/stl_bvector.h: Update.
* include/ext/stl_rope.h: Update.
From-SVN: r48185
2001-12-19 21:57:43 +00:00
Phil Edwards
572cd73ac9
configopts.html: Describe recent options.
...
2001-12-19 Phil Edwards <pme@gcc.gnu.org>
* docs/html/configopts.html: Describe recent options.
* docs/html/documentation.html: Point to new doxygen tarballs.
* docs/html/install.html: Brief updates.
* docs/html/17_intro/RELEASE-NOTES: Remove weird control character.
* docs/html/ext/howto.html: Fix typos, describe filebuf::fd().
* docs/html/faq/index.html: Update for 3.0.95.
* docs/html/faq/index.txt: Regenerate.
From-SVN: r48184
2001-12-19 21:36:33 +00:00
GCC Administrator
db1ae42802
Daily bump.
...
From-SVN: r48173
2001-12-19 08:16:11 +00:00
David Billinghurst
c6d96f20fd
libstdc++-v3-dg.exp: Append .exe to executable filenames
...
2001-12-19 David Billinghurst <David.Billinghurst@riotinto.com>
libstdc++-v3/5148
* testsuite/lib/libstdc++-v3-dg.exp: Append .exe to
executable filenames
From-SVN: r48167
2001-12-18 23:34:06 +00:00
Benjamin Kosnik
9560d353d3
TODO: Update.
...
2001-12-18 Benjamin Kosnik <bkoz@redhat.com>
* docs/html/17_intro/TODO: Update.
* docs/html/17_intro/RELEASE-NOTES: Edits, update.
* README: Edit for clarity, update to reflect current directory
structure.
From-SVN: r48165
2001-12-18 22:01:20 +00:00
Benjamin Kosnik
1451a49295
acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Extended checking before enabling gnu model.
...
2001-12-18 Benjamin Kosnik <bkoz@redhat.com>
* acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Extended checking before
enabling gnu model.
* aclocal.m4: Rebuild.
* configure: Rebuild.
From-SVN: r48163
2001-12-18 21:12:23 +00:00
Paolo Carlini
c448ca845c
basic_string.h (assign(__str, __pos, __n)): Call assign(__s, __n).
...
2001-12-18 Paolo Carlini <pcarlini@unitus.it>
Nathan Myers <ncm@cantrip.org>
* include/bits/basic_string.h (assign(__str, __pos, __n)):
Call assign(__s, __n).
(assign(__s, __n)): Terminate the string with _S_terminal.
Co-Authored-By: Nathan Myers <ncm@cantrip.org>
From-SVN: r48151
2001-12-18 12:06:01 +00:00
GCC Administrator
5faa1c16ac
Daily bump.
...
From-SVN: r48147
2001-12-18 08:16:44 +00:00
Benjamin Kosnik
8d33a04d8b
std_limits.h (__glibcpp_long_double_is_bounded): Set to true, like float and double.
...
2001-12-17 Benjamin Kosnik <bkoz@redhat.com>
* include/bits/std_limits.h (__glibcpp_long_double_is_bounded):
Set to true, like float and double.
From-SVN: r48145
2001-12-18 06:57:28 +00:00
David Billinghurst
9e78e45a8d
prune.exp: New file
...
2001-12-17 David Billinghurst <David.Billinghurst@riotinto.com>
libstdc++/5136
* testsuite/lib/prune.exp: New file
* testsuite/lib/libstdc++-v3-dg.exp: Use it
From-SVN: r48133
2001-12-17 22:39:00 +00:00
Phil Edwards
e9c46bb75e
basic_file.h (__basic_file::fd): New function.
...
2001-12-17 Phil Edwards <pme@gcc.gnu.org>
* include/bits/basic_file.h (__basic_file::fd): New function.
* config/io/basic_file_stdio.h (__basic_file::fd): Define.
* include/bits/std_fstream.h (basic_filebuf::fd): New function.
* include/bits/fstream.tcc (basic_filebuf::fd): Define.
* testsuite/27_io/filebuf_members.cc (test_02): New test.
From-SVN: r48107
2001-12-17 17:08:57 +00:00
Nathan Sidwell
ddff03932e
Makefile.am (.po.mo): Use POSIXLY_CORRECT argument ordering.
...
* po/Makefile.am (.po.mo): Use POSIXLY_CORRECT argument ordering.
* po/Makefile.in: Regenerated.
From-SVN: r48098
2001-12-17 09:19:04 +00:00
GCC Administrator
540136cbff
Daily bump.
...
From-SVN: r48094
2001-12-17 08:16:12 +00:00
Paolo Carlini
4b428ee570
assign.cc (test01): Add tests.
...
2001-12-16 Paolo Carlini <pcarlini@unitus.it>
* testsuite/21_strings/assign.cc (test01): Add tests.
From-SVN: r48078
2001-12-16 20:21:20 +00:00
GCC Administrator
7759fccd62
Daily bump.
...
From-SVN: r48066
2001-12-16 08:16:42 +00:00
Paolo Carlini
bd1f473825
2001-12-15 Paolo Carlini <pcarlini@unitus.it>
...
Nathan Myers <ncm@cantrip.org>
* include/bits/basic_string.h
(assign(__str, __pos, __n), assign(__s, __n)): Optimize
by avoiding unnecessary temporaries.
(assign(__s)): Call assign(__s, __n).
* include/bits/basic_string.tcc (_M_replace_safe): Adjust comment.
* include/bits/std_string.h: include stl_function.h.
* testsuite/21_strings/assign.cc (test02, test03): New tests.
Co-Authored-By: Nathan Myers <ncm@cantrip.org>
From-SVN: r48053
2001-12-16 01:02:17 +00:00
Benjamin Kosnik
56deb74c86
acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Enable gnu locale model on linux by default.
...
2001-12-15 Benjamin Kosnik <bkoz@redhat.com>
* acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Enable gnu locale model
on linux by default.
* aclocal.m4: Regenerate.
* configure: Regenerate.
From-SVN: r48046
2001-12-15 18:58:49 +00:00
GCC Administrator
ed86a83d51
Daily bump.
...
From-SVN: r48036
2001-12-15 08:16:09 +00:00
Benjamin Kosnik
def9790d51
Clean up initialization and simplfy caching of underlying "C" locale objects.
...
2001-12-14 Benjamin Kosnik <bkoz@redhat.com>
Clean up initialization and simplfy caching of underlying "C"
locale objects.
* src/localename.cc (locale::_Impl::_Impl(string, size_t):
Unconditionally create __clocale object for all named locales,
including "C" and "POSIX".
* config/locale/c_locale_generic.cc
(locale::facet::_S_create_c_locale): Always set __cloc to zero.
* config/locale/c_locale_gnu.cc: Always delete.
* include/bits/localefwd.h (locale::facet::_S_c_locale): New.
* src/locale.cc (locale::classic()): Initialize
locale::facet::_S_c_locale.
(locale::facet::_S_c_locale): Define.
* include/bits/locale_facets.h: Add ctype_byname<wchar_t> ctor
specialization.
* src/locale.cc: Add definition here.
* config/os/gnu-linux/bits/ctype_inline.h: Tweak.
* config/os/gnu-linux/bits/ctype_noninline.h: Adjust initializations.
* include/bits/locale_facets.h (ctype<char>::_M_c_locale_ctype): Add.
Adjust ctors, dtors.
(ctype<char>::_M_toupper): Remove const&.
(ctype<char>::_M_tolower): Remove const&.
(ctype<char>::_M_ctable): Remove const&.
* include/bits/locale_facets.h (collate): Clean up initialization
of _M_c_locale_collate in ctors and dtors.
* config/locale/collate_members_gnu.cc: Always use extended
functions.
* include/bits/locale_facets.h (messages): Clean up inits in ctor/dtor.
(messages_byname): Same.
* config/locale/messages_members_generic.h (messages::~messages):
Remove.
* config/locale/messages_members_gnu.h: Same.
* include/bits/localefwd.h: Clean. Move dtor definitions to
* src/locale.cc: Here.
* testsuite/22_locale/facet.cc: Fix spelling.
Named locale support for ctype<wchar_t>.
* acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add variable
ctype_members_* bits.
* aclocal.m4: Regenerate.
* configure: Regenerate.
* src/Makefile.am (sources): Add ctype.cc.
* src/Makefile.in: Regenerate.
* config/locale/ctype_members_generic.cc: New file.
* config/locale/ctype_members_gnu.cc: New file.
* src/locale.cc: Remove ctype<wchart_t> definitions.
From-SVN: r48034
2001-12-15 07:05:04 +00:00
Andreas Jaeger
dc6f415864
builtins.def: Rename BUILT_IN_FSQRT to BUILT_IN_SQRT and __builtin_fsqrt to __builtin_sqrt.
...
2001-12-14 Roger Sayle <roger@eyesopen.com>
* builtins.def: Rename BUILT_IN_FSQRT to BUILT_IN_SQRT and
__builtin_fsqrt to __builtin_sqrt.
* builtins.c (expand_builtin_mathfn,expand_builtin): Same.
* doc/extend.texi: Simplify documentation to match patch.
f:
* com-rt.def: Use __builtin_sqrt instead of __builtin_fsqrt.
* com.c (ffecom_init_0): Same, and fixed enumeration usage.
libstdc++-v3:
* acconfig.h: Test for __builtin_sqrt instead of
__builtin_fsqrt.
* acinclude.m4: Same.
* include/c_shadow/bits/std_cmath.h: Same.
* aclocal.m4: Regenerated.
* config.h.in: Regenerated.
* configure: Regenerated.
From-SVN: r48008
2001-12-14 22:06:35 +01:00
GCC Administrator
e82c2b28d1
Daily bump.
...
From-SVN: r47995
2001-12-14 08:16:45 +00:00
Phil Edwards
855d2bdb6b
howto.html: Fix typos.
...
2001-12-13 Phil Edwards <pme@gcc.gnu.org>
* docs/html/ext/howto.html: Fix typos.
From-SVN: r47980
2001-12-13 23:11:49 +00:00
Benjamin Kosnik
85230e5255
locale.cc (locale::locale(const char*)): Deal with locales named "".
...
2001-12-13 Benjamin Kosnik <bkoz@redhat.com>
libstdc++/3679
* src/locale.cc (locale::locale(const char*)): Deal with locales
named "".
* testsuite/22_locale/ctor_copy_dtor.cc (test01): Modify.
From-SVN: r47968
2001-12-13 11:12:56 +00:00
GCC Administrator
3af44a8e3f
Daily bump.
...
From-SVN: r47966
2001-12-13 08:16:52 +00:00
Paolo Carlini
897bb55fe3
ropeimpl.h (rope::_S_leaf_concat_char_iter, [...]): Adjust implicit typename.
...
2001-12-12 Paolo Carlini <pcarlini@unitus.it>
* include/ext/ropeimpl.h (rope::_S_leaf_concat_char_iter,
_S_destr_leaf_concat_char_iter, _S_tree_concat, _S_concat_char_iter,
_S_destr_concat_char_iter, _S_concat, _S_substring, _S_balance)
: Adjust implicit typename.
* include/ext/stl_rope.h (_Rope_iterator::operator=, rope::npos):
Adjust implicit typename.
* testsuite/27_io/streambuf.cc: Adjust implicit typename.
From-SVN: r47958
2001-12-13 00:41:03 +00:00
Benjamin Kosnik
9e5c7dba50
Named locale support for ctype<char>.
...
2001-12-12 Benjamin Kosnik <bkoz@redhat.com>
Named locale support for ctype<char>.
* config/locale/c_locale_gnu.h (_GLIBCPP_C_LOCALE_GNU): New.
* config/os/gnu-linux/bits/ctype_noninline.h (ctype<char>): Add
definitions for alternate constructor.
* config/os/solaris/solaris2.7/bits/ctype_noninline.h (ctype): Same.
* config/os/solaris/solaris2.6/bits/ctype_noninline.h (ctype): Same.
* config/os/solaris/solaris2.5/bits/ctype_noninline.h (ctype): Same.
* config/os/newlib/bits/ctype_noninline.h (ctype): Same.
* config/os/irix/irix6.5/bits/ctype_noninline.h (ctype): Same.
* config/os/irix/irix5.2/bits/ctype_noninline.h (ctype): Same.
* config/os/hpux/bits/ctype_noninline.h (ctype): Same.
* config/os/generic/bits/ctype_noninline.h (ctype): Same.
* config/os/djgpp/bits/ctype_noninline.h (ctype): Same.
* config/os/bsd/netbsd/bits/ctype_noninline.h (ctype): Same.
* config/os/bsd/freebsd/bits/ctype_noninline.h (ctype): Same.
* config/os/aix/bits/ctype_noninline.h (ctype): Same.
* include/bits/locale_facets.h (ctype<_CharT>): Remove dummy
definitions for all virtual functions. These are now explicitly
undefined for non-required factets, ie any non-char, non-wchar_t
instantiations.
* src/localename.cc (locale::_Impl::_Impl(string, size_t): Named
locales use alternate constructor for ctype facet.
* include/bits/locale_facets.h (ctype<char>::ctype(__c_locale, const
mask*, bool, size_t): Add.
(ctype<wchar_t>::ctype(__c_locale, size_t): Add.
* src/locale.cc (ctype<wchar_t>::ctype(__c_locale, size_t)): Add
definition.
* testsuite/22_locale/ctype_members_char.cc (test02): Add, mark
XFAIL for non-gnu locale models.
From-SVN: r47953
2001-12-12 23:16:35 +00:00
Philip Martin
cb93dfb4a0
Ross Smith <r-smith@ihug.co.nz> Paolo Carlini <pcarlini@unitus.it>
...
2001-12-12 Philip Martin <philip@codematters.co.uk>
Ross Smith <r-smith@ihug.co.nz>
Paolo Carlini <pcarlini@unitus.it>
libstdc++/5045
* include/bits/std_limits.h (defines, numeric_limits<bool>::digits10):
Fix digits10 values for integral types.
* include/bits/locale_facets.tcc (num_get::do_get for integral types):
Tweak _M_extract_int call.
* testsuite/27_io/istream_extractor_arith.cc (test13, test12_aux):
Tweak overflowing number of digits.
* testsuite/18_support/numeric_limits.cc (test03): New testcase.
Co-Authored-By: Paolo Carlini <pcarlini@unitus.it>
Co-Authored-By: Ross Smith <r-smith@ihug.co.nz>
From-SVN: r47947
2001-12-12 20:23:30 +00:00
GCC Administrator
41d2bbe765
Daily bump.
...
From-SVN: r47924
2001-12-12 08:16:18 +00:00
Benjamin Kosnik
bf3b866e31
ctype_inline.h: Remove spaces.
...
2001-12-11 Benjamin Kosnik <bkoz@redhat.com>
* config/os/generic/bits/ctype_inline.h: Remove spaces.
* config/os/gnu-linux/bits/ctype_noninline.h: Same.
* include/bits/locale_facets.h (__num_base): Move double data
members to first in class.
* include/bits/locale_facets.tcc: Re-arrange, tweak.
* src/locale.cc: Clean.
*include/bits/stl_vector.h: Space typedefs.
From-SVN: r47918
2001-12-12 03:22:25 +00:00
Phil Edwards
3c612a619d
allocators.cc: New file.
...
2001-12-11 Phil Edwards <pme@gcc.gnu.org>
* testsuite/ext/allocators.cc: New file.
From-SVN: r47888
2001-12-11 19:04:58 +00:00
Jason Merrill
6fe4816fdb
locale_facets.tcc (_M_extract_int): Avoid uninitialized warning.
...
* include/bits/locale_facets.tcc (_M_extract_int): Avoid
uninitialized warning.
From-SVN: r47877
2001-12-11 10:48:11 -05:00
Loren J. Rittle
813df02279
* config/cpu/sparc/sparc32/bits/atomicity.h
...
(__Atomicity_lock<0>::_S_atomicity_lock): Add.
From-SVN: r47867
2001-12-11 09:41:40 +00:00
GCC Administrator
2b5ee71cee
Daily bump.
...
From-SVN: r47865
2001-12-11 08:17:58 +00:00
Paolo Carlini
d01f347422
basic_string.tcc (_M_replace_safe): Fix typos.
...
2001-12-10 Paolo Carlini <pcarlini@unitus.it>
* include/bits/basic_string.tcc (_M_replace_safe): Fix typos.
* include/bits/basic_string.h: Fix typos.
From-SVN: r47847
2001-12-10 14:32:28 +00:00
Paolo Carlini
26c4de51c9
2001-12-10 Paolo Carlini <pcarlini@unitus.it>
...
* ChangeLog of the previous commit.
From-SVN: r47845
2001-12-10 13:55:22 +00:00
Paolo Carlini
78bd50313e
basic_string.tcc (_M_replace_safe): New function.
...
2001-12-10 Paolo Carlini <pcarlini@unitus.it>
Nathan Myers <ncm@cantrip.org>
* include/bits/basic_string.tcc (_M_replace_safe): New function.
(_M_replace(input_iterator_tag), append members): Use it.
(_M_replace(forward_iterator_tag)): Remove.
* include/bits/basic_string.h: Adjust declarations.
* src/string-inst.cc: Adjust declarations.
From-SVN: r47844
2001-12-10 13:42:01 +00:00
Benjamin Kosnik
2a74463013
locale_facets.h (__num_base::_S_scale_hex): Add.
...
2001-12-09 Benjamin Kosnik <bkoz@redhat.com>
Philip Martin <pmartin@uklinux.net>
* include/bits/locale_facets.h (__num_base::_S_scale_hex): Add.
(__num_base::_S_scale_oct): Add.
* src/locale.cc: Add definitions.
* testsuite/27_io/istream_extractor_arith.cc (main): Call test13.
* testsuite/testsuite_hooks.h: Remove duplicate VERIFY define.
Co-Authored-By: Philip Martin <pmartin@uklinux.net>
From-SVN: r47837
2001-12-10 08:41:03 +00:00
GCC Administrator
d4197a152d
Daily bump.
...
From-SVN: r47836
2001-12-10 08:16:45 +00:00
GCC Administrator
e922107006
Daily bump.
...
From-SVN: r47809
2001-12-09 08:17:23 +00:00
GCC Administrator
da8c84e8df
Daily bump.
...
From-SVN: r47787
2001-12-08 08:16:41 +00:00
Nathan Myers
7814a308e4
atomicity.h (struct __Atomicity_lock<__inst>): Add.
...
libstdc++/5037
* config/cpu/sparc/sparc32/bits/atomicity.h
(struct __Atomicity_lock<__inst>): Add.
(__Atomicity_lock<__inst>::_S_atomicity_lock): Add.
(__exchange_and_add): Use __Atomicity_lock<0>::_S_atomicity_lock
instead of lock local to static function.
(__atomic_add): Likewise.
Co-Authored-By: Loren J. Rittle <ljrittle@acm.org>
From-SVN: r47782
2001-12-08 00:59:11 +00:00
Phil Edwards
d0c250155a
globals.cc: Remove __GTHREADS guard.
...
2001-12-07 Phil Edwards <pme@gcc.gnu.org>
* src/globals.cc: Remove __GTHREADS guard.
From-SVN: r47778
2001-12-07 23:13:23 +00:00
Paolo Carlini
46d360629c
locale_facets.tcc (num_put::_M_convert_float): Extend comment, reduce __cs_size for non-fixed outputs.
...
2001-12-07 Paolo Carlini <pcarlini@unitus.it>
* include/bits/locale_facets.tcc (num_put::_M_convert_float):
Extend comment, reduce __cs_size for non-fixed outputs.
From-SVN: r47767
2001-12-07 19:00:07 +00:00
Paolo Carlini
cc89439188
basic_string.tcc (_M_mutate): Fix typo in the previous check in.
...
2001-12-07 Paolo Carlini <pcarlini@unitus.it>
* include/bits/basic_string.tcc (_M_mutate): Fix typo
in the previous check in.
From-SVN: r47754
2001-12-07 12:25:51 +00:00
Paolo Carlini
79f57f2322
basic_string.tcc (_M_mutate, _M_clone): Implement exponential growth policy to meet linear amortized time requirements...
...
2001-12-06 Paolo Carlini <pcarlini@unitus.it>
Loren J. Rittle <ljrittle@acm.org>
* include/bits/basic_string.tcc (_M_mutate, _M_clone): Implement
exponential growth policy to meet linear amortized time
requirements of the standard.
(_S_create): Adjust comment.
Co-Authored-By: Loren J. Rittle <ljrittle@acm.org>
From-SVN: r47750
2001-12-07 09:07:55 +00:00
GCC Administrator
d385b9dd9d
Daily bump.
...
From-SVN: r47749
2001-12-07 08:17:17 +00:00
Benjamin Kosnik
823b4f7daa
[multiple changes]
...
2001-12-06 Benjamin Kosnik <bkoz@redhat.com>
libstdc++/3720
* include/bits/locale_facets.tcc (num_put): Clean.
(num_get::_M_extract_float): Change argument to string.
(num_get::do_get(float)): Fixup.
(num_get::do_get(double)): Same.
(num_get::do_get(long double)): Same.
(num_get::_M_extract_int): Add maximum length parameter, __max.
(num_get::_M_extract_float): Correct zeros, use string.
* include/bits/locale_facets.h (num_get::_M_extract_float): Change
declaration here.
* src/locale.cc (__num_base::_S_atoms): Remove x, X.
* testsuite/27_io/istream_extractor_arith.cc (test13): Add.
2001-12-06 Philip Martin <pmartin@uklinux.net>
* testsuite/27_io/istream_extractor_arith.cc (test12): Add
tests for excess input digits.
From-SVN: r47743
2001-12-07 02:58:36 +00:00
Phil Edwards
9d6a24bd51
std_bitset.h: Use GLIBCPP in multiple-inclusion guard.
...
2001-12-06 Phil Edwards <pme@gcc.gnu.org>
* include/bits/std_bitset.h: Use GLIBCPP in multiple-inclusion guard.
* include/bits/stl_algo.h: Likewise.
* include/bits/stl_algobase.h: Likewise.
* include/bits/stl_bvector.h: Likewise.
* include/bits/stl_deque.h: Likewise.
* include/bits/stl_function.h: Likewise.
* include/bits/stl_iterator.h: Likewise.
* include/bits/stl_iterator_base_funcs.h: Likewise.
* include/bits/stl_iterator_base_types.h: Likewise.
* include/bits/stl_list.h: Likewise.
* include/bits/stl_multimap.h: Likewise.
* include/bits/stl_multiset.h: Likewise.
* include/bits/stl_pair.h: Likewise.
* include/bits/stl_queue.h: Likewise.
* include/bits/stl_set.h: Likewise.
* include/bits/stl_stack.h: Likewise.
* include/bits/stl_tempbuf.h: Likewise.
* include/bits/stl_tree.h: Likewise.
* include/bits/stl_vector.h: Likewise.
* include/bits/stl_alloc.h: Use our own multiple inclusion guards.
Doxygenate more comments. Correct historical artifacts in comments.
(alloc, single_alloc): Uglify non-standard names.
(__default_alloc_template::_NFREELISTS): Calculate from other
parameters.
(__default_alloc_template::_S_free_list): Remove SunPro workaround.
(__default_alloc_template::_Lock): Mark as "unused".
* include/backward/alloc.h: Update.
* include/bits/stl_bvector.h: Likewise.
* include/ext/ropeimpl.h: Likewise.
* include/ext/stl_hashtable.h: Likewise.
From-SVN: r47729
2001-12-06 20:29:31 +00:00
GCC Administrator
4790ab191f
Daily bump.
...
From-SVN: r47707
2001-12-06 08:16:51 +00:00
Benjamin Kosnik
0228de0c4f
[multiple changes]
...
2001-12-05 Benjamin Kosnik <bkoz@redhat.com>
DR/282
* include/bits/locale_facets.tcc (num_put::_M_widen_float): Add
grouping to floating point types.
* testsuite/27_io/ostream_inserter_arith.cc (test02): Add test.
2001-12-04 Paolo Carlini <pcarlini@unitus.it>
libstdc++/4402
* testsuite/27_io/ostream_inserter_arith.cc (test02): add testcase
from the PR.
* include/bits/locale_facets.tcc (num_put::_M_convert_float):
Deal properly with long ios_base::fixed floats.
(num_put::_M_widen_float): use
__len in __builtin_alloca call.
From-SVN: r47696
2001-12-05 22:07:36 +00:00
GCC Administrator
ef31d0c25e
Daily bump.
...
From-SVN: r47660
2001-12-05 08:16:14 +00:00
Benjamin Kosnik
5b5e609d03
[multiple changes]
...
2001-12-04 Benjamin Kosnik <bkoz@redhat.com>
* src/Makefile.am (sources): Add ext-inst.cc.
* src/Makefile.in: Regenerate.
* src/ext-inst.cc: New file.
* include/bits/stl_threads.h: Format.
* src/globals.cc: Add instantiation for _S_swap_lock.
* testsuite/18_support/numeric_limits.cc: Add numeric_limits<B>
instantiation.
2001-12-04 John David Anglin <dave@hiauly1.hia.nrc.ca>
* testsuite/22_locale/numpunct_members_wchar_t.cc: Only compile
and execute test01 if _GLIBCPP_USE_WCHAR_T is defined.
* testsuite/26_numerics/complex_inserters_extractors.cc: Provide
for explicit instantiation of class std::basic_string<char,
gnu_char_traits, std::allocator<char> >.
From-SVN: r47622
2001-12-04 20:13:41 +00:00
GCC Administrator
33ad83f5a8
Daily bump.
...
From-SVN: r47594
2001-12-04 08:16:23 +00:00
Benjamin Kosnik
dbb27f267a
collate.cc: Compile-only.
...
2001-12-03 Benjamin Kosnik <bkoz@redhat.com>
* testsuite/22_locale/collate.cc: Compile-only.
* testsuite/22_locale/time_get.cc: Same.
* testsuite/22_locale/time_put.cc: Same.
* testsuite/22_locale/numpunct.cc: Same.
* testsuite/22_locale/num_put.cc: Same.
* testsuite/22_locale/num_get.cc: Same.
* testsuite/22_locale/moneypunct.cc: Same.
* testsuite/22_locale/money_get.cc: Same.
* testsuite/22_locale/messages.cc: Same.
* testsuite/22_locale/ctype.cc: Same.
From-SVN: r47592
2001-12-04 07:15:01 +00:00
Benjamin Kosnik
3acc0e7632
string-inst.cc (string::_Rep::_S_terminal): Add static data member instantiations.
...
2001-12-03 Benjamin Kosnik <bkoz@redhat.com>
* src/string-inst.cc (string::_Rep::_S_terminal): Add static data
member instantiations.
From-SVN: r47586
2001-12-04 01:01:46 +00:00
Steve Ellcey
75940b886e
configure.in: Add support for hpux cross compiles...
...
2001-12-03 Steve Ellcey <sje@cup.hp.com>
* libstdc++-v3/configure.in: Add support for hpux cross compiles,
combine common linux/hpux/generic cross compile support to reduce
redundent lines.
* libstdc++-v3/configure: Regenerate.
From-SVN: r47564
2001-12-03 22:28:57 +00:00
Loren J. Rittle
bd8fd826dd
howto.html: Update commentary.
...
* docs/html/ext/howto.html: Update commentary.
* include/bits/c++config: Update threading configuration comment.
(__STL_GTHREADS): Remove macro definition.
(__STL_THREADS): Likewise.
* include/bits/stl_threads.h: Leave only the configuration
path which had been guarded by __STL_GTHREADS. Remove all
guards related to __STL_GTHREADS, __STL_SGI_THREADS,
__STL_PTHREADS, __STL_UITHREADS and __STL_WIN32THREADS.
* include/bits/stl_alloc.h: Leave only the configuration path
which had been guarded by __STL_THREADS. Remove configuration
path and guards for __STL_SGI_THREADS.
(__NODE_ALLOCATOR_THREADS): Remove macro definition. Unroll its use.
(__NODE_ALLOCATOR_LOCK): Likewise.
(__NODE_ALLOCATOR_UNLOCK): Likewise.
(_NOTHREADS): Remove guards related to macro.
* include/ext/stl_rope.h: Remove configuration path and guards
for __STL_SGI_THREADS.
* src/stl-inst.cc: Remove use of __NODE_ALLOCATOR_THREADS.
From-SVN: r47557
2001-12-03 19:11:01 +00:00
GCC Administrator
a2ad3e94f5
Daily bump.
...
From-SVN: r47545
2001-12-03 08:17:03 +00:00
Phil Edwards
50b30e0bf3
howto.html: Update list of implemented DRs.
...
2001-12-02 Phil Edwards <pme@gcc.gnu.org>
* docs/html/ext/howto.html: Update list of implemented DRs.
* docs/html/ext/lwg-active.html: Import R20 from upstream.
* docs/html/ext/lwg-defects.html: Import R20 from upstream.
From-SVN: r47540
2001-12-03 00:33:57 +00:00
GCC Administrator
e42a7c94a2
Daily bump.
...
From-SVN: r47522
2001-12-02 08:16:12 +00:00
GCC Administrator
837ce4797c
Daily bump.
...
From-SVN: r47507
2001-12-01 08:17:49 +00:00
Benjamin Kosnik
af46cdde20
exception (bad_exception::~bad_exception()): Remove declaration.
...
2001-11-30 Benjamin Kosnik <bkoz@redhat.com>
libstdc++/3150
DR/266
* libsupc++/exception (bad_exception::~bad_exception()): Remove
declaration.
* libsupc++/new (bad_alloc::~bad_alloc()): Remove.
* libsupc++/typeinfo (bad_cast::~bad_cast()): Remove.
(bad_typeid::~bad_typeid()): Remove.
* libsupc++/tinfo.cc (bad_cast::~bad_cast()): Remove definition.
(bad_typeid::~bad_typeid()): Same.
* libsupc++/new_handler.cc (bad_alloc::~bad_alloc()): Same.
* libsupc++/eh_exception.cc (bad_exception::~bad_exception()): Same.
* include/bits/std_iomanip.h: Tweak.
From-SVN: r47505
2001-12-01 04:56:03 +00:00
GCC Administrator
806b8c3c98
Daily bump.
...
From-SVN: r47479
2001-11-30 08:16:49 +00:00
Paolo Carlini
b334004616
locale_facets.tcc (__pad): Add bool parameter to correctly pad internal-adjusted const char*-type objects.
...
2001-11-29 Paolo Carlini <pcarlini@unitus.it>
libstdc++/3655
* include/bits/locale_facets.tcc (__pad): Add bool parameter to
correctly pad internal-adjusted const char*-type objects.
* include/bits/locale_facts.tcc (num_put::_M_insert): Update call.
* include/bits/ostream.tcc (operator<<(_CharT , char, const
_CharT*, const char*, const basic_string&): Update calls.
* src/locale-inst.tcc: Update declarations.
* testsuite/27_io/ostream_inserter_arith.cc (test04): Add test.
From-SVN: r47459
2001-11-29 22:31:02 +00:00
Phil Edwards
894c7af33d
howto.html: Finish allocator notes (inst and 3.0).
...
2001-11-29 Phil Edwards <pme@gcc.gnu.org>
* docs/html/ext/howto.html: Finish allocator notes (inst and 3.0).
From-SVN: r47452
2001-11-29 21:02:34 +00:00
Benjamin Kosnik
004249997b
locale_facets.tcc (num_get::do_get(long double)): Fix __traits_type typo.
...
2001-11-29 Benjamin Kosnik <bkoz@redhat.com>
* include/bits/locale_facets.tcc (num_get::do_get(long double)):
Fix __traits_type typo.
From-SVN: r47449
2001-11-29 20:14:38 +00:00
GCC Administrator
243ebca042
Daily bump.
...
From-SVN: r47439
2001-11-29 08:16:16 +00:00
Benjamin Kosnik
911b415e52
locale_facets.tcc (__pad): Correctly pad internal-adjusted hex numbers.
...
2001-11-28 Paolo Carlini <pcarlini@unitus.it>
libstdc++/3655
* include/bits/locale_facets.tcc (__pad): Correctly pad
internal-adjusted hex numbers.
* testsuite/27_io/ostream_inserter_arith.cc: Add testcase.
From-SVN: r47434
2001-11-29 00:30:01 +00:00
Paolo Carlini
5a4c85886a
locale_facets.tcc (__pad): correctly output hex numbers internally aligned.
...
2001-11-28 Paolo Carlini <pcarlini@unitus.it>
libstdc++/3655
* include/bits/locale_facets.tcc (__pad): correctly output hex
numbers internally aligned.
* testsuite/27_io/ostream_inserter_arith.cc: Add testcase.
From-SVN: r47433
2001-11-29 00:27:54 +00:00
Paolo Carlini
6dafbab7e5
2001-11-28 Paolo Carlini <pcarlini@unitus.it>
...
Loren J. Rittle <ljrittle@acm.org>
* include/bits/basic_string.h
(basic_string::_Rep::__default_excess, _S_excess_slop):
Unused, remove.
* include/bits/basic_string.tcc: Remove dead code.
* include/bits/c++config: Remove comment.
Co-Authored-By: Loren J. Rittle <ljrittle@acm.org>
From-SVN: r47425
2001-11-28 18:58:19 +00:00
GCC Administrator
562d21e913
Daily bump.
...
From-SVN: r47403
2001-11-28 08:16:14 +00:00
Benjamin Kosnik
861768350b
2001-11-28 Benjamin Kosnik <bkoz@redhat.com>
...
Jakub Jelinek <jakub@redhat.com>
* config/locale/moneypunct_members_gnu.cc
(moneypunct<wchar_t>::_M_initialize_moneypunct): Correctly cast
for ia64, others.
* config/locale/numpunct_members_gnu.cc
(numpunct<wchar_t>::_M_initialize_numpunct): Same.
From-SVN: r47402
2001-11-28 07:40:12 +00:00
Benjamin Kosnik
074a8e74dd
locale_facets.tcc: Formatting tweaks.
...
2001-11-27 Benjamin Kosnik <bkoz@redhat.com>
* include/bits/locale_facets.tcc: Formatting tweaks.
* testsuite/23_containers/map_operators.cc: Don't xfail.
* testsuite/23_containers/set_operators.cc: Same.
* testsuite/backward/header_iterator_h.cc: Pass in -Wno-deprecated.
* testsuite/backward/header_deque_h.cc: Same.
From-SVN: r47401
2001-11-28 06:53:29 +00:00
Benjamin Kosnik
5fd0af8754
locale_facets.tcc: Formatting tweaks.
...
2001-11-27 Benjamin Kosnik <bkoz@redhat.com>
* include/bits/locale_facets.tcc: Formatting tweaks.
* testsuite/23_containers/map_operators.cc: Don't xfail.
* testsuite/23_containers/set_operators.cc: Same.
From-SVN: r47400
2001-11-28 06:35:00 +00:00
Benjamin Kosnik
ec9d6e9f45
Numeric facets cleanup.
...
2001-11-27 Benjamin Kosnik <bkoz@redhat.com>
Numeric facets cleanup.
* include/bits/locale_facets.h (__num_base::_S_atoms): Add, remove
+ and - signs.
(__num_base::_M_zero): Add
(__num_base::_M_e): Add.
(__num_base::_M_E): Add.
* include/bits/locale_facets.tcc (num_get::_M_extract): Remove.
(num_get::_M_extract_float): New.
(num_get::_M_extract_int): New.
* src/locale.cc (num_get::_M_extract): Remove.
* include/bits/locale_facets.tcc (num_put::_M_insert_float):
Simplify, use _M_insert.
(num_put::do_put(bool)): Simplify, remove __pad.
(__pad): Remove.
(__pad_output): Change to __pad.
* include/bits/ostream.tcc: And here.
* src/locale-inst: Remove instantiations.
* include/bits/locale_facets.h: Move helper functions in to class
num_put.
(num_put::_M_insert_float): Same, for __output_integer.
(num_put::_M_insert_int): Same, for __output_float.
(num_put::_M_insert): New.
(__num_base): Add.
(__num_base::_S_format_float): Move
__build_float_format into class __num_base.
(__num_base::_S_format_int): Move __build_int_format into class
__num_base.
* include/bits/locale_facets.tcc (__group_digits): Change to
(__add_grouping): This.
* src/locale-inst.cc: And here. Tweak instantiations.
* src/misc-inst.cc: Remove instantiations.
* include/bits/ostream.tcc (__pad_char): Rename, adjust inserters
for new calling conventions, move to...
* include/bits/locale_facets.tcc (__pad_output): Here. Adjust
signature to make it useful for both ostream and num_put.
(__pad_numeric): Remove.
* src/misc-inst.cc: Remove instantiations.
* src/locale-inst.cc: Same.
* include/bits/locale_facets.h (_Numeric_get): Remove.
(_Numeric_put): Remove.
(num_get::get(short)): Remove.
(num_get::get(int)): Remove.
(num_get::do_get(short)): Remove.
(num_get::do_get(int)): Remove.
* include/bits/istream.tcc (istream::operator>>(short)): Fix as
per DR 118.
(istream::operator>>(int)): Same.
* include/bits/locale_facets.h (_Format_cache): Remove.
* include/bits/locale_facets.tcc: Same.
* src/locale.cc: Same.
* src/locale-inst.cc: Same.
* include/bits/ostream.tcc: Same.
* src/ios.cc (ios_base::imbue): Remove here as well.
* testsuite/22_locale/num_get.cc: New file.
* testsuite/22_locale/num_get_members_char.cc: New file.
* testsuite/22_locale/num_get_members_wchar_t.cc: New.
* testsuite/22_locale/numpunct_members_wchar_t.cc: New file.
* testsuite/22_locale/num_put.cc: New file.
* testsuite/22_locale/num_put_members_char.cc: New file.
* testsuite/22_locale/num_put_members_wchar_t.cc: New file.
* testsuite/27_io/ostream_inserter_arith.cc: Fix.
* testsuite/27_io/istream_extractor_arith.cc: Fix.
From-SVN: r47399
2001-11-28 06:29:55 +00:00
Loren J. Rittle
2883d58bf5
basic_string.tcc (basic_string::_Rep::_S_create): Enforce allocation size blocking policy to reduce fragmentation and enhance...
...
2001-11-27 Loren J. Rittle <ljrittle@acm.org>
Paolo Carlini <pcarlini@unitus.it>
* include/bits/basic_string.tcc (basic_string::_Rep::_S_create):
Enforce allocation size blocking policy to reduce
fragmentation and enhance performance with common malloc
implementations.
Co-Authored-By: Paolo Carlini <pcarlini@unitus.it>
From-SVN: r47398
2001-11-28 05:17:59 +00:00
Benjamin Kosnik
86ade44cb2
Numeric facets cleanup.
...
2001-11-27 Benjamin Kosnik <bkoz@redhat.com>
Numeric facets cleanup.
* include/bits/locale_facets.h (__num_base::_S_atoms): Add, remove
+ and - signs.
(__num_base::_M_zero): Add
(__num_base::_M_e): Add.
(__num_base::_M_E): Add.
* include/bits/locale_facets.tcc (num_get::_M_extract): Remove.
(num_get::_M_extract_float): New.
(num_get::_M_extract_int): New.
* src/locale.cc (num_get::_M_extract): Remove.
* include/bits/locale_facets.tcc (num_put::_M_insert_float):
Simplify, use _M_insert.
(num_put::do_put(bool)): Simplify, remove __pad.
(__pad): Remove.
(__pad_output): Change to __pad.
* include/bits/ostream.tcc: And here.
* src/locale-inst: Remove instantiations.
* include/bits/locale_facets.h: Move helper functions in to class
num_put.
(num_put::_M_insert_float): Same, for __output_integer.
(num_put::_M_insert_int): Same, for __output_float.
(num_put::_M_insert): New.
(__num_base): Add.
(__num_base::_S_format_float): Move
__build_float_format into class __num_base.
(__num_base::_S_format_int): Move __build_int_format into class
__num_base.
* include/bits/locale_facets.tcc (__group_digits): Change to
(__add_grouping): This.
* src/locale-inst.cc: And here. Tweak instantiations.
* src/misc-inst.cc: Remove instantiations.
* include/bits/ostream.tcc (__pad_char): Rename, adjust inserters
for new calling conventions, move to...
* include/bits/locale_facets.tcc (__pad_output): Here. Adjust
signature to make it useful for both ostream and num_put.
(__pad_numeric): Remove.
* src/misc-inst.cc: Remove instantiations.
* src/locale-inst.cc: Same.
* include/bits/locale_facets.h (_Numeric_get): Remove.
(_Numeric_put): Remove.
(num_get::get(short)): Remove.
(num_get::get(int)): Remove.
(num_get::do_get(short)): Remove.
(num_get::do_get(int)): Remove.
* include/bits/istream.tcc (istream::operator>>(short)): Fix as
per DR 118.
(istream::operator>>(int)): Same.
* include/bits/locale_facets.h (_Format_cache): Remove.
* include/bits/locale_facets.tcc: Same.
* src/locale.cc: Same.
* src/locale-inst.cc: Same.
* include/bits/ostream.tcc: Same.
* src/ios.cc (ios_base::imbue): Remove here as well.
* testsuite/22_locale/num_get.cc: New file.
* testsuite/22_locale/num_get_members_char.cc: New file.
* testsuite/22_locale/num_get_members_wchar_t.cc: New.
* testsuite/22_locale/numpunct_members_wchar_t.cc: New file.
* testsuite/22_locale/num_put.cc: New file.
* testsuite/22_locale/num_put_members_char.cc: New file.
* testsuite/22_locale/num_put_members_wchar_t.cc: New file.
* testsuite/27_io/ostream_inserter_arith.cc: Fix.
* testsuite/27_io/istream_extractor_arith.cc: Fix.
From-SVN: r47397
2001-11-28 04:07:11 +00:00
Phil Edwards
7145a3ddd9
explanations.html: New section, empty for now.
...
2001-11-27 Phil Edwards <pme@gcc.gnu.org>
* docs/html/explanations.html: New section, empty for now.
* docs/html/17_intro/howto.html: Cleanup. Move unrelated link...
* docs/html/23_containers/howto.html: ...to here. Break up and
rewrap threading discussion to emphasize warning. Move malloc text...
* docs/html/ext/howto.html: ...to here. New section. Describe
allocators and __USE_MALLOC effects.
* docs/html/ext/sgiexts.html: Mention their code.
From-SVN: r47391
2001-11-28 00:02:04 +00:00
GCC Administrator
9a9e23fbc7
Daily bump.
...
From-SVN: r47371
2001-11-27 08:16:19 +00:00
GCC Administrator
3cc9a32fc7
Daily bump.
...
From-SVN: r47335
2001-11-26 08:16:12 +00:00
GCC Administrator
a319614e13
Daily bump.
...
From-SVN: r47310
2001-11-25 08:16:11 +00:00
Joseph Myers
763b9879b9
maint.cfg.in, [...]: Revert previous changes.
...
* docs/doxygen/maint.cfg.in, docs/doxygen/user.cfg.in,
docs/html/27_io/binary_iostreams_kuehl.txt: Revert previous
changes.
From-SVN: r47301
2001-11-24 10:46:50 +00:00
GCC Administrator
044883587f
Daily bump.
...
From-SVN: r47299
2001-11-24 08:16:12 +00:00
Phil Edwards
b00378457a
Makefile.am (doxygen-maint): The script isn't executable in CVS.
...
2001-11-23 Phil Edwards <pme@gcc.gnu.org>
* Makefile.am (doxygen-maint): The script isn't executable in CVS.
* Makefile.in: Regenerated.
* docs/doxygen/TODO: New file listing doxygen work to be done.
* docs/doxygen/run_doxygen: Fix up man pages.
* docs/doxygen/user.cfg.in: Insert maint-only toggles.
* docs/doxygen/maint.cfg.in: Copy from user.cfg and turn toggles on.
* include/bits/stl_construct.h: Use new hooks for internal functions.
* docs/html/17_intro/TODO: Small updates.
* docs/html/faq/index.html: Likewise.
* docs/html/faq/index.txt: Regenerated.
* include/bits/stl_alloc.h: Doxygenate, reindent comments, remove
SGI-isms and wrappers.
(simple_alloc, debug_alloc): Uglify class names.
(__default_alloc_template): Uglify "threads" template parameter and
update corresponding macros.
* include/backward/alloc.h: Bring up to date.
From-SVN: r47296
2001-11-24 03:28:27 +00:00
Jason Merrill
afb0141fbd
vterminate.cc (__verbose_terminate_handler): Add leading underscores.
...
* src/vterminate.cc (__verbose_terminate_handler): Add leading
underscores.
From-SVN: r47292
2001-11-23 12:36:43 -05:00
Joseph Myers
c5504edb75
ChangeLog, [...]: Fix spelling errors.
...
* ChangeLog, docs/doxygen/maint.cfg.in, docs/doxygen/user.cfg.in,
docs/doxygen/doxygroups.cc, docs/doxygen/Intro.3,
docs/html/17_intro/BUGS, docs/html/17_intro/C++STYLE,
docs/html/17_intro/CHECKLIST, docs/html/17_intro/DESIGN,
docs/html/17_intro/howto.html, docs/html/17_intro/porting.html,
docs/html/17_intro/porting.texi, docs/html/18_support/howto.html,
docs/html/19_diagnostics/howto.html, docs/html/20_util/howto.html,
docs/html/21_strings/howto.html,
docs/html/23_containers/howto.html,
docs/html/26_numerics/howto.html, docs/html/27_io/howto.html,
docs/html/27_io/binary_iostreams_kuehl.txt,
docs/html/ext/sgiexts.html, docs/html/faq/index.html,
docs/html/faq/index.txt, testsuite/24_iterators/iterator.cc,
include/bits/basic_file.h, include/bits/locale_facets.h,
include/bits/locale_facets.tcc, include/bits/std_sstream.h,
include/ext/ropeimpl.h, include/ext/stl_rope.h,
libsupc++/tinfo.cc, libsupc++/cxxabi.h, libsupc++/typeinfo,
libsupc++/eh_throw.cc, acinclude.m4, aclocal.m4, configure,
configure.target, ChangeLog-2000: Fix spelling errors.
From-SVN: r47291
2001-11-23 16:29:02 +00:00
GCC Administrator
6d668dbfaf
Daily bump.
...
From-SVN: r47283
2001-11-23 08:16:17 +00:00
Joseph Myers
754d92990a
predict.c, [...]: Fix spelling errors.
...
gcc:
* predict.c, reg-stack.c: Fix spelling errors.
libstdc++-v3:
* config/locale/moneypunct_members_gnu.cc,
include/bits/locale_facets.h: Fix spelling errors.
From-SVN: r47278
2001-11-23 01:37:07 +00:00
Stephen M. Webb
1fc610939a
list_capacity.cc: New file.
...
2001-11-22 Stephen M. Webb <stephen@bregmasoft.com>
* testsuite/23_containers/list_capacity.cc: New file.
* testsuite/23_containers/list_ctor.cc: New file.
* testsuite/23_containers/list_modifiers.cc: New file.
* testsuite/23_containers/list_operators.cc: New file.
2001-11-22 Stephen M. Webb <stephen@bregmasoft.com>
* include/bits/stl_list.h: Reformatted according to C++STYLE rules.
(size): Replaced nonstandard distance() call with the standard one.
(transfer): Uglified to _M_transfer.
From-SVN: r47277
2001-11-22 19:19:23 +00:00
GCC Administrator
d76c8d5b76
Daily bump.
...
From-SVN: r47259
2001-11-22 08:16:17 +00:00
Paolo Carlini
dcc61724f1
re PR libstdc++/4548 (When reserving a string to become smaller, program crashes)
...
2001-11-21 Paolo Carlini <pcarlini@unitus.it>
PR libstdc++/4548
* include/bits/basic_string.tcc (basic_string::reserve): Never shrink
below the current size.
* testsuite/21_strings/capacity.cc (test02): Add test.
From-SVN: r47246
2001-11-21 22:04:53 +00:00
GCC Administrator
a558c691e1
Daily bump.
...
From-SVN: r47235
2001-11-21 08:16:23 +00:00
GCC Administrator
30cfa1bb50
Daily bump.
...
From-SVN: r47206
2001-11-20 08:16:18 +00:00
Phil Edwards
1b4a6975f7
Intro.3: More notes.
...
2001-11-19 Phil Edwards <pme@gcc.gnu.org>
* docs/doxygen/Intro.3: More notes.
* docs/doxygen/style.css: Update to default style from Doxygen 1.2.10.
* include/bits/stl_algobase.h: Add doxygen hooks for functions.
* include/ext/hash_map: Add @file hook.
* include/ext/hash_set: Likewise.
* include/ext/rope: Likewise.
* include/ext/ropeimpl.h: Likewise.
* include/ext/slist: Likewise.
* include/ext/stl_hash_fun.h: Likewise.
* include/ext/stl_hashtable.h: Likewise.
* include/ext/stl_rope.h: Likewise.
* docs/html/17_intro/license.html: Remove "experimental" sentence.
* docs/html/19_diagnostics/howto.html: Document new verbose
terminate handler.
* testsuite/27_io/filebuf.cc: Fix comment, move tweakable parameter
to more visible (closer to description) position.
* libsupc++/eh_type.cc: Formatting tweak.
* libsupc++/exception: Likewise.
* src/vterminate.cc: Likewise.
* docs/html/17_intro/porting.html: Regenerate.
* docs/html/faq/index.txt: Regenerate.
From-SVN: r47193
2001-11-20 00:51:37 +00:00
GCC Administrator
55d56a9096
Daily bump.
...
From-SVN: r47166
2001-11-19 08:16:15 +00:00
GCC Administrator
6ad8427bba
Daily bump.
...
From-SVN: r47137
2001-11-18 08:16:11 +00:00
Jason Merrill
74a3070ffa
eh_personality.cc (__cxa_call_unexpected): Take void*.
...
* libsupc++/eh_personality.cc (__cxa_call_unexpected): Take void*.
* libsupc++/eh_catch.cc (__cxa_begin_catch): Likewise.
* libsupc++/unwind-cxx.h: Adjust.
* src/Makefile.am (strstream.o): Pass -Wno-deprecated.
* libsupc++/eh_type.cc (__cxa_current_exception_type): New file.
* libsupc++/cxxabi.h: Declare it.
* libsupc++/Makefile.am (sources): Add it.
* src/vterminate.cc (verbose_terminate_handler): New file.
* libsupc++/exception: Declare it.
* src/Makefile.am (sources): Add it.
* src/Makefile.am (VPATH): Check the src directory before the top one.
From-SVN: r47132
2001-11-17 21:09:23 -05: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
Loren J. Rittle
7dd4ba48c4
howto.html (Thread-safety): Rename section to ``The Standard C++ library and multithreading'' and update...
...
* docs/html/17_intro/howto.html (Thread-safety): Rename
section to ``The Standard C++ library and multithreading'' and
update information based on recent mailing list traffic. Move
all discussion of __USE_MALLOC to...
* docs/html/23_containers/howto.html (Containers and multithreading):
...here and rework it based on recent mailing list traffic.
From-SVN: r47102
2001-11-16 20:59:10 +00:00
GCC Administrator
45fb7df53e
Daily bump.
...
From-SVN: r47083
2001-11-16 08:16:11 +00:00
Loren J. Rittle
87bc7fa6aa
index.html (Is libstdc++-v3 thread-safe?): Clarify wording.
...
* docs/html/faq/index.html (Is libstdc++-v3 thread-safe?): Clarify
wording.
From-SVN: r47045
2001-11-15 09:06:14 +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
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
GCC Administrator
3c1ef3c102
Daily bump.
...
From-SVN: r46372
2001-10-20 07:16:39 +00:00
Benjamin Kosnik
69bcf12417
mkcheck.in (static_fail): Remove older memory limit functionality.
...
2001-10-19 Benjamin Kosnik <bkoz@redhat.com>
* mkcheck.in (static_fail): Remove older memory limit functionality.
Disable E_TIME due to formatting issues.
* README: Update.
From-SVN: r46367
2001-10-19 23:05:15 +00:00
Benjamin Kosnik
d51feceac1
std_complex.h: Default initialize second argument of polar to 0, as specified in Library DR #79
...
2001-10-19 Brendan Kehoe <brendan@zen.org>
* include/bits/std_complex.h: Default initialize second argument
of polar to 0, as specified in Library DR #79
From-SVN: r46354
2001-10-19 18:43:34 +00:00
Brendan Kehoe
ba317c5236
[multiple changes]
...
2001-08-19 Brendan Kehoe <brendan@zen.org>
* include/bits/std_complex.h: Default initialize second argument
of polar to 0, as specified in Library DR #79
2001-10-19 Brendan Kehoe <brendan@zen.org>
* include/bits/stl_raw_storage_iter.h (operator=): Fix to call
_Construct instead of construct.
2001-10-19 Brendan Kehoe <brendan@zen.org>
* include/bits/basic_string.tcc (find_first_not_of): Take out check for
__n being non-zero, since the standard does not mandate that.
e.g., a search for "" in "" should yield position 0, not npos.
(find_last_not_of): Likewise.
2001-10-19 Brendan Kehoe <brendan@zen.org>
* include/bits/stl_bvector.h (vector<bool>::_M_range_check): Fix
to throw out_of_range, not range_error, thus sayeth $23.1.1.13.
2001-10-19 Brendan Kehoe <brendan@zen.org>
* include/bits/stl_iterator.h (reverse_iterator::current): Rename
member from _M_current, and change all uses; thus sayeth $24.4.1.1.
2001-10-19 Brendan Kehoe <brendan@zen.org>
* include/bits/stl_algo.h (partial_sort): Add missing `>' on the
template parameter _ValueType.
2001-10-19 Brendan Kehoe <brendan@zen.org>
* include/bits/std_limits.h: Clean up extra semicolons.
* include/bits/locale_facets.h: Likewise.
* include/bits/type_traits.h: Likewise.
2001-10-19 Brendan Kehoe <brendan@zen.org>
* include/bits/localefwd.h (locale::combine): Add const for lib DR 14.
* include/bits/locale_facets.tcc (locale::combine): Likewise.
From-SVN: r46353
2001-10-19 18:39:00 +00:00
Benjamin Kosnik
1ab8a33ed5
locale_facets.h (__timepunct::_M_put_helper): Declare specializations for char, wchar_t.
...
2001-10-19 Benjamin Kosnik <bkoz@redhat.com>
* include/bits/locale_facets.h (__timepunct::_M_put_helper):
Declare specializations for char, wchar_t.
From-SVN: r46346
2001-10-19 09:35:19 +00:00
GCC Administrator
f08d20cd2e
Daily bump.
...
From-SVN: r46344
2001-10-19 07:16:27 +00:00
Andreas Jaeger
aa3340ba2a
* configure.target: Add x86-64.
...
From-SVN: r46343
2001-10-19 08:34:23 +02:00
Andreas Jaeger
82e014c98d
limits.h: New file.
...
* config/cpu/x86-64/bits/limits.h: New file.
* config/cpu/x86-64/bits/atomicity.h: New file.
* configure.target: Add x86-64.
From-SVN: r46342
2001-10-19 08:34:01 +02:00
GCC Administrator
87992ab6da
Daily bump.
...
From-SVN: r46329
2001-10-18 07:16:22 +00:00
Phil Edwards
aa2a8516ce
howto.html: Remove 1999 links (and explain why).
...
2001-10-17 Phil Edwards <pme@gcc.gnu.org>
* docs/html/17_intro/howto.html: Remove 1999 links (and explain
why). Add link to recent message.
* docs/html/faq/index.html (5.6): Reformat text only; fixup <pre>
markup.
* docs/html/faq/index.txt: Regenerate.
From-SVN: r46321
2001-10-17 18:14:58 +00:00
GCC Administrator
e0a1c10724
Daily bump.
...
From-SVN: r46309
2001-10-17 07:16:59 +00:00
GCC Administrator
d3a1246b2d
Daily bump.
...
From-SVN: r46278
2001-10-16 07:16:11 +00:00
GCC Administrator
7c4f13fd46
Daily bump.
...
From-SVN: r46264
2001-10-15 07:16:13 +00:00
GCC Administrator
7c3e4ebb84
Daily bump.
...
From-SVN: r46252
2001-10-14 07:16:41 +00:00
GCC Administrator
45701819ce
Daily bump.
...
From-SVN: r46242
2001-10-13 07:17:10 +00:00
Loren J. Rittle
cb580d5cac
index.html (Is libstdc++-v3 thread-safe?): Update based on Nathan's review.
...
* docs/html/faq/index.html (Is libstdc++-v3 thread-safe?): Update
based on Nathan's review. Use Nathan's words.
From-SVN: r46238
2001-10-13 00:06:21 +00:00
GCC Administrator
a77776205c
Daily bump.
...
From-SVN: r46224
2001-10-12 07:41:11 +00:00
Matt Kraai
94e091c833
configopts.html: Quote StyleSheet attribute values.
...
* docs/html/configopts.html: Quote StyleSheet attribute values.
* docs/html/documentation.html: Likewise.
* docs/html/explanations.html: Likewise.
* docs/html/install.html: Likewise.
* docs/html/17_intro/howto.html: Likewise.
* docs/html/17_intro/license.html: Likewise.
* docs/html/18_support/howto.html: Likewise.
* docs/html/19_diagnostics/howto.html: Likewise.
* docs/html/20_util/howto.html: Likewise.
* docs/html/21_strings/howto.html: Likewise.
* docs/html/22_locale/howto.html: Likewise.
* docs/html/23_containers/howto.html: Likewise.
* docs/html/24_iterators/howto.html: Likewise.
* docs/html/25_algorithms/howto.html: Likewise.
* docs/html/26_numerics/howto.html: Likewise.
* docs/html/27_io/howto.html: Likewise.
* docs/html/ext/howto.html: Likewise.
* docs/html/ext/sgiexts.html: Likewise.
* docs/html/faq/index.html: Likewise.
From-SVN: r46194
2001-10-11 18:41:47 +00:00
GCC Administrator
fd079ba91c
Daily bump.
...
From-SVN: r46180
2001-10-11 07:16:20 +00:00
Loren J. Rittle
ac3636f297
index.html (Is libstdc++-v3 thread-safe?): Rewrite.
...
* docs/html/faq/index.html (Is libstdc++-v3 thread-safe?): Rewrite.
* docs/html/23_containers/howto.html (Containers and multithreading):
Update.
From-SVN: r46175
2001-10-11 06:07:50 +00:00
GCC Administrator
3717a97992
Daily bump.
...
From-SVN: r46143
2001-10-10 07:16:18 +00:00
Phil Edwards
60741f92b6
howto.html: Tweak markup and value type.
...
2001-10-09 Phil Edwards <pme@gcc.gnu.org>
* docs/html/17_intro/howto.html: Tweak markup and value type.
* docs/html/27_io/howto.html: Tweak markup, describe setbuf() for
nonzero arguments, add new note on threading.
* docs/html/faq/index.html: Update.
* docs/html/faq/index.txt: Regenerate.
From-SVN: r46130
2001-10-09 22:23:52 +00:00
Phil Edwards
0435269a76
configopts.html: More HTML->XHTML and lowercasing of tags.
...
2001-10-09 Phil Edwards <pme@gcc.gnu.org>
* docs/html/configopts.html: More HTML->XHTML and lowercasing of tags.
* docs/html/documentation.html: Likewise.
* docs/html/explanations.html: Likewise.
* docs/html/install.html: Likewise.
* docs/html/17_intro/howto.html: Likewise.
* docs/html/17_intro/license.html: Likewise. Tighten up language.
* docs/html/18_support/howto.html: Likewise.
* docs/html/19_diagnostics/howto.html: Likewise.
* docs/html/20_util/howto.html: Likewise.
* docs/html/21_strings/howto.html: Likewise.
* docs/html/22_locale/howto.html: Likewise.
* docs/html/23_containers/howto.html: Likewise.
* docs/html/24_iterators/howto.html: Likewise.
* docs/html/25_algorithms/howto.html: Likewise.
* docs/html/26_numerics/howto.html: Likewise.
* docs/html/27_io/howto.html: Likewise.
* docs/html/ext/howto.html: Likewise.
* docs/html/ext/sgiexts.html: Likewise.
* docs/html/faq/index.html: Likewise. Not so many absolute links.
* docs/html/faq/index.txt: Regenerate.
From-SVN: r46128
2001-10-09 20:18:14 +00:00
GCC Administrator
f35e4d626b
Daily bump.
...
From-SVN: r46116
2001-10-09 07:16:11 +00:00
GCC Administrator
83e2393c91
Daily bump.
...
From-SVN: r46071
2001-10-08 07:35:10 +00:00
Joseph Myers
cc712abf04
acinclude.m4: Fix spelling error of "separate" as "seperate".
...
config:
* acinclude.m4: Fix spelling error of "separate" as "seperate".
gcc:
* ChangeLog.2, c-decl.c, config/i386/i386.md, doc/gcc.texi, gcc.c,
genmultilib, toplev.c: Fix spelling errors of "separate" as
"seperate", and corresponding spelling errors of related words.
gcc/ada:
* 5oosinte.adb: Fix spelling error of "separate" as "seperate".
gcc/testsuite:
* gcc.c-torture/unsorted/unsorted.exp, lib/file-format.exp: Fix
spelling errors of "separate" as "seperate".
libffi:
* src/x86/ffi.c: Fix spelling error of "separate" as "seperate".
libjava:
* defineclass.cc, java/awt/image/ColorModel.java,
java/awt/image/SampleModel.java, java/lang/Package.java,
java/security/cert/X509Extension.java: Fix spelling errors of
"separate" as "seperate", and corresponding spelling errors of
related words.
libstdc++-v3:
* docs/html/22_locale/locale.html, docs/html/faq/index.html: Fix
spelling errors of "separate" as "seperate", and corresponding
spelling errors of related words.
* docs/html/faq/index.txt: Regenerate.
From-SVN: r46063
2001-10-07 19:02:46 +01:00
GCC Administrator
eb8f3d02ba
Daily bump.
...
From-SVN: r46053
2001-10-07 07:16:12 +00:00
GCC Administrator
68f589c853
Daily bump.
...
From-SVN: r46047
2001-10-06 07:16:10 +00:00
Phil Edwards
744ee8b72b
atomicity.h (__compare_and_swap): Remove unused function.
...
2001-10-05 Phil Edwards <pme@gcc.gnu.org>
* config/cpu/alpha/bits/atomicity.h (__compare_and_swap): Remove
unused function.
* config/cpu/arm/bits/atomicity.h: Likewise.
* config/cpu/generic/bits/atomicity.h: Likewise.
* config/cpu/i486/bits/atomicity.h: Likewise.
* config/cpu/ia64/bits/atomicity.h: Likewise.
* config/cpu/mips/bits/atomicity.h: Likewise.
* config/cpu/powerpc/bits/atomicity.h: Likewise.
* config/cpu/sparc/sparc32/bits/atomicity.h: Likewise.
* config/cpu/sparc/sparc64/bits/atomicity.h: Likewise.
From-SVN: r46038
2001-10-05 18:43:43 +00:00
GCC Administrator
17d69790a5
Daily bump.
...
From-SVN: r46031
2001-10-05 07:16:47 +00:00
Phil Edwards
8a0915a4d3
index.html: Describe DR #22 , and a workaround.
...
2001-10-04 Phil Edwards <pme@gcc.gnu.org>
* docs/html/faq/index.html: Describe DR #22 , and a workaround.
* docs/html/faq/index.txt: Regenerate.
From-SVN: r46016
2001-10-04 20:10:46 +00:00
Phil Edwards
c9fe10db6b
COPYING.DOC: New file, GFDL v1.1 from the FSF.
...
2001-10-04 Phil Edwards <pme@gcc.gnu.org>
* docs/html/17_intro/COPYING.DOC: New file, GFDL v1.1 from the FSF.
* docs/html/17_intro/license.html: New file. Explain the licenses
in use.
* docs/html/configopts.html: Link to license.html.
* docs/html/documentation.html: Likewise.
* docs/html/explanations.html: Likewise.
* docs/html/install.html: Likewise.
* docs/html/17_intro/howto.html: Likewise.
* docs/html/18_support/howto.html: Likewise.
* docs/html/19_diagnostics/howto.html: Likewise.
* docs/html/20_util/howto.html: Likewise.
* docs/html/21_strings/howto.html: Likewise.
* docs/html/22_locale/howto.html: Likewise.
* docs/html/23_containers/howto.html: Likewise.
* docs/html/24_iterators/howto.html: Likewise.
* docs/html/25_algorithms/howto.html: Likewise.
* docs/html/26_numerics/howto.html: Likewise.
* docs/html/27_io/howto.html: Likewise.
* docs/html/ext/howto.html: Likewise.
* docs/html/ext/sgiexts.html: Likewise.
* docs/html/faq/index.html: Likewise. New question, linking to
the new license.html.
From-SVN: r46015
2001-10-04 20:03:22 +00:00
Phil Edwards
f79297a2fa
howto.html: Fix mis-sed in header from 20010917.
...
2001-10-04 Phil Edwards <pme@gcc.gnu.org>
* docs/html/17_intro/howto.html: Fix mis-sed in header from 20010917.
* docs/html/18_support/howto.html: Likewise.
* docs/html/19_diagnostics/howto.html: Likewise.
* docs/html/20_util/howto.html: Likewise.
* docs/html/21_strings/howto.html: Likewise.
* docs/html/22_locale/howto.html: Likewise.
* docs/html/23_containers/howto.html: Likewise.
* docs/html/24_iterators/howto.html: Likewise.
* docs/html/25_algorithms/howto.html: Likewise.
* docs/html/26_numerics/howto.html: Likewise.
* docs/html/27_io/howto.html: Likewise.
* docs/html/ext/howto.html: Likewise.
* docs/html/faq/index.html: Likewise. Spacing fix.
From-SVN: r46014
2001-10-04 19:54:54 +00:00
GCC Administrator
3bdeffacad
Daily bump.
...
From-SVN: r46007
2001-10-04 07:38:12 +00:00
Dimitris Vyzovitis
8bf4eeece3
stl_threads.h (_Atomic_swap): New function.
...
* include/bits/stl_threads.h (_Atomic_swap): New function.
(_Swap_lock_struct<__dummy>::_S_swap_lock): New data.
* testsuite/ext/rope.cc: New file.
From-SVN: r45999
2001-10-03 21:19:31 +00:00
GCC Administrator
caa3f65c76
Daily bump.
...
From-SVN: r45986
2001-10-03 07:16:10 +00:00
Benjamin Kosnik
da5c0f6ef5
time_members_gnu.h: Remove.
...
2001-10-02 Benjamin Kosnik <bkoz@redhat.com>
* config/locale/time_members_gnu.h: Remove.
* config/locale/time_members_generic.h: Remove.
* config/locale/time_members_gnu.cc (__timepunct::_M_put_helper): Add.
* config/locale/time_members_generic.cc: Same.
* include/bits/locale_facets.h: Add data members.
(__timepunct::_M_put_helper): Change signature.
(__timepunct::_M_date_formats): Same.
(__timepunct::_M_time_formats): Same.
(__timepunct::_M_ampm): Add.
(__timepunct::_M_date_time_formats): Add.
(time_get::_M_extract_via_format): Add.
(time_get::_M_extract_time): Change to...
(time_get::_M_extract_num): ... this, modify signature.
* include/bits/locale_facets.tcc (time_get::do_get_year): Fix.
(time_get::do_get_time): Fix.
(time_get::do_get_date): Fix.
* acinclude.m4: Remove CTIME_H.
* aclocal.m4: Regenerate.
* include/Makefile.am: Same.
* include/Makefile.in: Regenerate.
* configure: Regenerate.
* testsuite/22_locale/time_get_members_char.cc: Fix.
* testsuite/22_locale/time_get_members_wchar_t.cc: Add.
* testsuite/22_locale/time_put_members_wchar_t.cc: Add.
From-SVN: r45966
2001-10-02 18:44:50 +00:00
GCC Administrator
b3b5d92c88
Daily bump.
...
From-SVN: r45943
2001-10-02 07:17:46 +00:00
Hans-Peter Nilsson
be55d07d6f
* config/cpu/cris/bits/atomicity.h: Correct file header.
...
From-SVN: r45929
2001-10-01 16:57:44 +00:00
GCC Administrator
383af6a2e2
Daily bump.
...
From-SVN: r45919
2001-10-01 07:16:48 +00:00
GCC Administrator
fa82903832
Daily bump.
...
From-SVN: r45896
2001-09-30 07:16:14 +00:00
Hans-Peter Nilsson
d15a5c7ca1
* config/cpu/cris/bits/limits.h: New file.
...
From-SVN: r45883
2001-09-29 16:49:48 +00:00
Hans-Peter Nilsson
a78a69ba79
configure.target (LIMITSH): Set for cris.
...
* configure.target (LIMITSH): Set for cris.
(cpu_include_dir): Set for cris-*-*.
* config/cpu/cris/bits/atomicity.h: New file.
* config/cpu/cris/bits/limits.h: New file.
From-SVN: r45882
2001-09-29 16:49:20 +00:00
GCC Administrator
bb394f6b5c
Daily bump.
...
From-SVN: r45876
2001-09-29 07:16:56 +00:00
Benjamin Kosnik
1ab656771a
time_members_gnu.h (__timepunct::_M_get_helper): Add.
...
2001-09-28 Benjamin Kosnik <bkoz@redhat.com>
* config/locale/time_members_gnu.h (__timepunct::_M_get_helper): Add.
(__timepunct::_M_put_helper): Add.
* config/locale/time_members_generic.h: Same.
* include/bits/locale_facets.h (__match_parallel): Remove. Format.
(__timepunct): Add data members.
(__timepunct::_M_days): Add.
(__timepunct::_M_days_abbreviated): Add.
(__timepunct::_M_months): Add.
(__timepunct::_M_months_abbreviated): Add.
(__timepunct::_M_initialize_timepunct): Add.
* include/bits/locale_facets.tcc: Same.
* src/locale-inst.cc: Remove instantiations for __match_parallel.
* acinclude.m4 (GLIBCPP_ENABLE_CLOCALE): Add CTIME_CC.
* aclocal.m4: Regenerate.
* configure: Regenerate.
* testsuite/22_locale/time_put_members_char.cc: Mark XFAIL.
* testsuite/22_locale/time_put_members_char.cc (test01): New file.
* testsuite/22_locale/time_get.cc: New file.
From-SVN: r45868
2001-09-28 23:44:48 +00:00
Rainer Orth
c20d89f553
libstdc++-v3-dg.exp (libstdc++-v3-init): Use correct multilib builddir.
...
* testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Use
correct multilib builddir.
Properly locate libgcc_s.
From-SVN: r45864
2001-09-28 19:42:12 +00:00
GCC Administrator
0c0d83a1b4
Daily bump.
...
From-SVN: r45857
2001-09-28 07:16:44 +00:00
Phil Edwards
2f9d51b858
*: Add Doxygen hooks.
...
2001-09-27 Phil Edwards <pme@gcc.gnu.org>
* include/std/*: Add Doxygen hooks.
* docs/doxygen/Intro.3: New file, general intro to the man pages.
* docs/doxygen/mainpage.doxy: Formatting tweaks. List our own links
rather than using a generated index.
* docs/doxygen/user.cfg.in: Disable the index, enable man pages.
* docs/doxygen/run_doxygen: Massage the generated man pages, using...
* docs/doxygen/stdheader.cc: ...this new file.
From-SVN: r45850
2001-09-27 22:44:24 +00:00
GCC Administrator
ef1d8fc882
Daily bump.
...
From-SVN: r45838
2001-09-27 07:16:41 +00:00
Stan Shebs
8ddad08b9e
Makefile.am: Remove RCS Id strings.
...
* include/Makefile.am: Remove RCS Id strings.
* src/Makefile.am: Ditto.
* docs/doxygen/run_doxygen: Ditto.
* docs/html/configopts.html: Ditto.
* docs/html/documentation.html: Ditto.
* docs/html/explanations.html: Ditto.
* docs/html/install.html: Ditto.
* docs/html/17_intro/howto.html: Ditto.
* docs/html/18_support/howto.html: Ditto.
* docs/html/19_diagnostics/howto.html: Ditto.
* docs/html/20_util/howto.html: Ditto.
* docs/html/21_strings/howto.html: Ditto.
* docs/html/22_locale/howto.html: Ditto.
* docs/html/23_containers/howto.html: Ditto.
* docs/html/24_iterators/howto.html: Ditto.
* docs/html/25_algorithms/howto.html: Ditto.
* docs/html/26_numerics/howto.html: Ditto.
* docs/html/27_io/howto.html: Ditto.
* docs/html/ext/howto.html: Ditto.
* docs/html/ext/sgiexts.html: Ditto.
* docs/html/faq/index.html: Ditto.
* docs/html/faq/index.txt: Ditto.
From-SVN: r45836
2001-09-27 00:48:01 +00:00
GCC Administrator
45899a7481
Daily bump.
...
From-SVN: r45820
2001-09-26 07:34:41 +00:00
Phil Edwards
4c1805d702
c_strings.cc (test01, test02): Increase `carray' size.
...
2001-09-25 Phil Edwards <pme@gcc.gnu.org>
* testsuite/21_strings/c_strings.cc (test01, test02): Increase
`carray' size.
From-SVN: r45817
2001-09-26 01:45:49 +00:00
Phil Edwards
77cd227ec3
howto.html: Add anchor name.
...
2001-09-25 Phil Edwards <pme@gcc.gnu.org>
* docs/html/20_util/howto.html: Add anchor name.
* docs/html/23_containers/howto.html: Line wrapping, another link.
* docs/html/25_algorithms/howto.html: Another note.
* docs/html/ext/howto.html: Link to SGI extensions. List DRs and
link to them...
* docs/html/ext/lwg-active.html: ...in this new file (from R19),
* docs/html/ext/lwg-defects.html: and this new file (from R19).
* docs/html/ext/sgiexts.html: New file. Mention SGI extensions
carried over to libstdc++-v3.
* docs/html/faq/index.html: Link to SGI extensions. Mention the
"missing .." pseudobug.
* docs/html/faq/index.txt: Regenerate.
* include/bits/ios_base.h: DR-related comment cleanup.
* include/bits/istream.tcc: Likewise.
* include/bits/locale_facets.h: Likewise.
* include/bits/locale_facets.tcc: Likewise.
* include/bits/ostream.tcc: Likewise.
* include/bits/std_bitset.h: Likewise.
* include/bits/std_iosfwd.h: Likewise.
* include/bits/std_istream.h: Likewise.
* include/bits/std_ostream.h: Likewise.
* include/bits/std_streambuf.h: Likewise.
* include/bits/stl_pair.h: Likewise.
* include/bits/streambuf_iterator.h: Likewise.
* include/bits/std_map.h: Remove unused header inclusion guard
_CPP_BITS_STL_TREE_H from around bits/stl_tree.h.
* include/bits/std_set.h: Likewise.
* include/bits/stl_function.h: Doxygen markup.
* docs/doxygen/doxygroups.cc: New file, specifying module grouping.
* libsupc++/typeinfo: Doxygen markup tweak.
From-SVN: r45816
2001-09-25 23:51:17 +00:00
GCC Administrator
aca0f84e00
Daily bump.
...
From-SVN: r45800
2001-09-25 07:16:10 +00:00
GCC Administrator
d8c2a81063
Daily bump.
...
From-SVN: r45767
2001-09-24 07:16:50 +00:00
GCC Administrator
ff4490a3a0
Daily bump.
...
From-SVN: r45760
2001-09-23 07:16:11 +00:00
GCC Administrator
ed41066c2d
Daily bump.
...
From-SVN: r45745
2001-09-22 07:16:42 +00:00
GCC Administrator
4816067b8d
Daily bump.
...
From-SVN: r45722
2001-09-21 07:16:43 +00:00