Benjamin Kosnik
c55357682b
Makefile.am (c_base_headers_rename): New.
...
2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
* include/Makefile.am (c_base_headers_rename): New.
(c_base_headers_extra): New.
(stamp-c_base): Modify.
(install-data-local): Use both.
* include/Makefile.in: Regenerate.
* include/c/[cctype ciso646 cmath cstdarg cstdlib cerrno climits
csetjmp cstddef cstring cwchar cassert cfloat clocale csignal
cstdio ctime cwctype]: Move to..
* include/c/std_*: Here.
* include/c_std/[cctype ciso646 cmath cstdarg cstdlib cerrno climits
csetjmp cstddef cstring cwchar cassert cfloat clocale csignal
cstdio ctime cwctype]: Move to..
* include/c_std/std_*: Here.
Alexandre Oliva <aoliva@redhat.com>
* include/Makefile.am (.PRECIOUS): Add rule.
* include/Makefile.in: Regenerate.
From-SVN: r48940
2002-01-17 07:18:33 +00:00
Benjamin Kosnik
8f7a401515
stl_iterator.h (reverse_iterator::_M_current): Deuglify, should be current.
...
2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
* include/bits/stl_iterator.h (reverse_iterator::_M_current):
Deuglify, should be current.
(back_insert_iterator::_M_container): Deuglify, should be container.
(front_insert_iterator::_M_container): Same.
(insert_iterator::_M_container): Same.
* testsuite/24_iterators/reverse_iterator.cc: Add check.
* testsuite/24_iterators/back_insert_iterator.cc: Add check.
* testsuite/24_iterators/front_insert_iterator.cc: Same.
* testsuite/24_iterators/insert_iterator.cc: Same.
2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
* include/bits/locale_facets.h (ctype<char>::classic_table): Make
static.
(ctype<char>::_M_ctable): Make static, change name to _S_ctable.
* config/os/gnu-linux/bits/ctype_noninline.h: Define _S_ctable.
* config/os/solaris/solaris2.7/bits/ctype_noninline.h: Same.
* config/os/solaris/solaris2.6/bits/ctype_noninline.h: Same.
* config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
* config/os/newlib/bits/ctype_noninline.h: Same.
* config/os/irix/irix6.5/bits/ctype_noninline.h: Same.
* config/os/irix/irix5.2/bits/ctype_noninline.h: Same.
* config/os/hpux/bits/ctype_noninline.h: Same.
* config/os/djgpp/bits/ctype_noninline.h: Same.
* config/os/bsd/netbsd/bits/ctype_noninline.h: Same.
* config/os/bsd/freebsd/bits/ctype_noninline.h: Same.
* config/os/aix/bits/ctype_noninline.h: Same.
Testcase by Dietmar K�hl via Peter Schmid
* testsuite/22_locale/ctype_members_char.cc (char>): Add test for
classic_table().
Co-Authored-By: Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
From-SVN: r48938
2002-01-17 03:59:42 +00:00
Benjamin Kosnik
aefb3380dd
signbitl.c: Copyright years as list, not range.
...
2002-01-16 Benjamin Kosnik <bkoz@redhat.com>
* libmath/signbitl.c: Copyright years as list, not range.
* libmath/Makefile.am: Same.
* libmath/Makefie.in: Regenerate.
* libmath/signbit.c: Same.
* libmath/nan.c: Same.
* libmath/copysignf.c: Same.
* libmath/signbitf.c: Same.
* testsuite/22_locale/money_get_members_char.cc: Same.
* testsuite/22_locale/money_get_members_wchar_t.cc: Same.
* testsuite/22_locale/money_put_members_char.cc: Same.
* testsuite/22_locale/money_put_members_wchar_t.cc: Same.
* testsuite/22_locale/time_get_members_char.cc: Same.
* testsuite/22_locale/time_get_members_wchar_t.cc: Same.
* testsuite/22_locale/time_put_members_char.cc: Same.
* testsuite/22_locale/time_put_members_wchar_t.cc: Same.
* testsuite/21_strings/nonmember.cc: Same.
* testsuite/21_strings/compare.cc: Same.
* testsuite/27_io/stringstream.cc: Same.
* testsuite/27_io/stringbuf.cc: Same.
* testsuite/27_io/filebuf.cc: Same.
* testsuite/27_io/ios_manip_basefield.cc: Same.
* testsuite/27_io/ios_manip_fmtflags.cc: Same.
* include/bits/cpp_type_traits.h: Same.
* include/bits/generic_shadow.h: Same.
* include/bits/gslice_array.h: Same.
* include/bits/gslice.h: Same.
* include/bits/indirect_array.h: Same.
* include/bits/slice_array.h: Same.
* include/bits/sstream.tcc: Same.
* include/bits/streambuf_iterator.h: Same.
* include/bits/valarray_array.tcc: Same.
* include/bits/valarray_meta.h: Same.
* include/bits/valarray_array.h: Same.
* config/os/mingw32/bits/ctype_noninline.h: Same.
* config/os/mingw32/bits/ctype_base.h: Same.
* config/os/hpux/bits/ctype_noninline.h: Same.
* config/os/hpux/bits/ctype_base.h: Same.
* config/os/gnu-linux/bits/ctype_noninline.h: Same.
* config/os/gnu-linux/bits/ctype_base.h: Same.
* config/os/generic/bits/ctype_noninline.h: Same.
* config/os/generic/bits/ctype_base.h: Same.
* libsupc++/tinfo.h: Tweaks.
From-SVN: r48922
2002-01-16 19:57:39 +00:00
Benjamin Kosnik
def9746c13
num_put_members_wchar_t.cc (test02): Same.
...
2002-01-15 Benjamin Kosnik <bkoz@redhat.com>
* testsuite/22_locale/num_put_members_wchar_t.cc (test02): Same.
* testsuite/22_locale/num_put_members_char.cc (test01): Tweak.
* testsuite/22_locale/ctype_members_char.cc: Tweak.
From-SVN: r48902
2002-01-16 06:11:41 +00:00
Benjamin Kosnik
c22e177db7
num_put_members_wchar_t.cc (test02): Same.
...
2002-01-15 Benjamin Kosnik <bkoz@redhat.com>
* testsuite/22_locale/num_put_members_wchar_t.cc (test02): Same.
* testsuite/22_locale/num_put_members_char.cc (test01): Tweak.
From-SVN: r48901
2002-01-16 06:06:59 +00:00
Benjamin Kosnik
bed9a20d55
locale_facets.tcc (num_put::do_put(bool): Fix.
...
2002-01-15 Benjamin Kosnik <bkoz@redhat.com>
* include/bits/locale_facets.tcc (num_put::do_put(bool): Fix.
(num_put::do_put(void*)): Fix.
* testsuite/22_locale/num_put_members_char.cc (test02): Add.
* testsuite/22_locale/num_put_members_wchar_t.cc (test02): Add.
* testsuite/22_locale/num_get_members_char.cc (test02): Add
long double, void, bool types.
* testsuite/22_locale/num_get_members_wchar_t.cc (test02): Add.
From-SVN: r48892
2002-01-16 00:51:45 +00:00
Benjamin Kosnik
ac91039534
Makefile.am (LINK): Add --tag CC.
...
2002-01-15 Benjamin Kosnik <bkoz@redhat.com>
Alexandre Oliva <aoliva@redhat.com>
* libmath/Makefile.am (LINK): Add --tag CC.
* libmath/Makefile.in: Regenerate.
Co-Authored-By: Alexandre Oliva <aoliva@redhat.com>
From-SVN: r48883
2002-01-15 23:02:22 +00:00
John David Anglin
93e9a99247
ctype_noninline.h: Use __SB_masks for address of character to attribute mapping table.
...
* config/os/hpux/bits/ctype_noninline.h: Use __SB_masks for address
of character to attribute mapping table.
From-SVN: r48880
2002-01-15 21:31:56 +00:00
David Billinghurst
80a86f2176
2002-01-08 David Billinghurst <David.Billinghurst@riotinto.com>
...
* testsuite/26_numerics/c99_classification_macros_c.cc
Remove dg-error and dg-excess-errors comments.
From-SVN: r48862
2002-01-15 04:29:56 +00:00
Benjamin Kosnik
8f88da406b
locale_facets.tcc (time_put::put): Correct output iterator positions.
...
2002-01-14 Benjamin Kosnik <bkoz@redhat.com>
* include/bits/locale_facets.tcc (time_put::put): Correct output
iterator positions.
* testsuite/22_locale/time_put_members_char.cc (test02): Add.
* testsuite/22_locale/time_put_members_wchar_t.cc (test02): Add.
* testsuite/22_locale/time_get_members_wchar_t.cc (test06): Add.
* testsuite/22_locale/time_get_members_char.cc (test06): Add.
From-SVN: r48861
2002-01-15 04:23:46 +00:00
Craig Rodrigues
749d98f055
porting-howto.xml: Update filebuf section.
...
2002-01-14 Craig Rodrigues <rodrigc@gcc.gnu.org>
* docs/html/17_intro/porting-howto.xml: Update filebuf section.
From-SVN: r48860
2002-01-15 01:29:39 +00:00
Paolo Carlini
c68cd521fa
2002-01-14 Paolo Carlini <pcarlini@unitus.it>
...
Nathan Myers <ncm@cantrip.org>
* include/bits/basic_string.h
(replace(__pos, __n1, __s, __n2)): Optimize by avoiding
temporaries (i.e., call _M_replace_safe) when possible.
(replace(__pos, __n, __str)): Call replace(__pos, __n1, __s, __n2).
(replace(__pos, __n1, __s)): Call replace(__pos, __n1, __s , __n2).
(replace(__i1, __i2, __str)): Call replace(__i1, __i2, __s, __n).
(replace(__i1, __i2, __s)): Call replace(__i1, __i2, __s, __n).
(replace(__i1, __i2, __s, __n)): Call replace(__pos1, __n1, __s, __n2).
* include/bits/basic_string.tcc
(replace(__pos1, __n1, __str, __pos2, __n2)): Call
replace(__pos, __n1, __s, __n2).
* testsuite/21_strings/replace.cc (test03): New testcases.
* include/bits/basic_string.h (insert(__pos, __s, __n)):
Adjust comparison wrt overflow.
Co-Authored-By: Nathan Myers <ncm@cantrip.org>
From-SVN: r48834
2002-01-14 19:04:15 +00:00
Benjamin Kosnik
047398eb61
Makefile.am (std_headers_rename): New variable.
...
2002-01-12 Benjamin Kosnik <bkoz@redhat.com>
* include/Makefile.am (std_headers_rename): New variable.
(install-data-local): Use it.
* include/Makefile.in: Regenerate.
From-SVN: r48811
2002-01-13 05:15:24 +00:00
Benjamin Kosnik
ae72572be9
locale_facets.tcc (money_put::do_put(string): Correct output iterator value.
...
2002-01-12 Benjamin Kosnik <bkoz@redhat.com>
* include/bits/locale_facets.tcc (money_put::do_put(string):
Correct output iterator value.
* testsuite/22_locale/money_put_members_char.cc (test03): Add.
* testsuite/22_locale/money_put_members_wchar_t.cc: Same.
From-SVN: r48809
2002-01-13 04:27:18 +00:00
Phil Edwards
41fcea287c
Makefile.am, [...] (stamp-std): Fix typo from previous commit.
...
2002-01-11 Phil Edwards <pme@gcc.gnu.org>
* include/Makefile.am, include/Makefile.in (stamp-std): Fix typo from
previous commit.
From-SVN: r48790
2002-01-12 01:42:30 +00:00
Phil Edwards
066930bbe1
Makefile.am (std_headers): Update list with new names.
...
2002-01-11 Phil Edwards <pme@gcc.gnu.org>
* include/Makefile.am (std_headers): Update list with new names.
(stamp-std): Link to standardized name.
* include/Makefile.in: Regenerate.
* include/std/algorithm, include/std/bitset, include/std/complex,
include/std/deque, include/std/fstream, include/std/functional,
include/std/iomanip, include/std/ios, include/std/iosfwd,
include/std/iostream, include/std/istream, include/std/iterator,
include/std/limits, include/std/list, include/std/locale,
include/std/map, include/std/memory, include/std/numeric,
include/std/ostream, include/std/queue, include/std/set,
include/std/sstream, include/std/stack, include/std/stdexcept,
include/std/streambuf, include/std/string, include/std/utility,
include/std/valarray, include/std/vector: Rename to...
* include/std/std_algorithm.h, include/std/std_bitset.h,
include/std/std_complex.h, include/std/std_deque.h,
include/std/std_fstream.h, include/std/std_functional.h,
include/std/std_iomanip.h, include/std/std_ios.h,
include/std/std_iosfwd.h, include/std/std_iostream.h,
include/std/std_istream.h, include/std/std_iterator.h,
include/std/std_limits.h, include/std/std_list.h,
include/std/std_locale.h, include/std/std_map.h,
include/std/std_memory.h, include/std/std_numeric.h,
include/std/std_ostream.h, include/std/std_queue.h,
include/std/std_set.h, include/std/std_sstream.h,
include/std/std_stack.h, include/std/std_stdexcept.h,
include/std/std_streambuf.h, include/std/std_string.h,
include/std/std_utility.h, include/std/std_valarray.h,
include/std/std_vector.h: ...this.
From-SVN: r48788
2002-01-12 00:50:04 +00:00
Loren J. Rittle
7bfea93644
Makefile.am (extra_target_headers): New list of all target files built with ad hoc naming rules.
...
* include/Makefile.am (extra_target_headers): New list of all
target files built with ad hoc naming rules.
(stamp-*): Handle LN_S failure in manner portable across make
implementations.
(install-data-local): Install header files from human-maintained
file lists and directory components instead of non-robust find.
* include/Makefile.in: Rebuilt.
From-SVN: r48782
2002-01-11 23:02:34 +00:00
Benjamin Kosnik
87a9c33cb1
locale_facets.tcc (money_get::do_get(string)): Check for zero-length negative sign before adding it to output string.
...
2002-01-11 Benjamin Kosnik <bkoz@redhat.com>
* include/bits/locale_facets.tcc (money_get::do_get(string)):
Check for zero-length negative sign before adding it to output
string.
(money_get::do_get(long double)): Return beg.
* testsuite/22_locale/money_get_members_char.cc (test02): Add
iterator checks.
* testsuite/22_locale/money_get_members_wchar_t.cc: Same.
From-SVN: r48777
2002-01-11 20:12:02 +00:00
David Seymour
3ac3829f8e
locale_facets.h (num_get<>): Return advanced iterator for _M_extract_float and _M_extract_int
...
2002-01-10 David Seymour <seymour_dj@yahoo.com>
libstdc++/5331
* include/bits/locale_facets.h (num_get<>): Return advanced iterator
for _M_extract_float and _M_extract_int
* include/bits/locale_facets.tcc (num_get<>::_M_extract_float)
(num_get<>::_M_extract_int): Likewise, all callers changed
* testsuite/22_locale/num_get_members_char.cc: Testcase
From-SVN: r48765
2002-01-11 05:14:47 +00:00
David Seymour
631ba05e3d
locale_facets.h (num_get<>): Return advanced iterator for _M_extract_float and _M_extract_int
...
2002-01-10 David Seymour <seymour_dj@yahoo.com>
* include/bits/locale_facets.h (num_get<>): Return advanced iterator
for _M_extract_float and _M_extract_int
* include/bits/locale_facets.tcc (num_get<>::_M_extract_float)
(num_get<>::_M_extract_int): Likewise, all callers changed
* testsuite/22_locale/num_get_members_char.cc: Testcase
From-SVN: r48764
2002-01-11 05:07:22 +00:00
Paolo Carlini
e05cd3dd3a
exception (bad_exception): Add comment.
...
2002-01-09 Paolo Carlini <pcarlini@unitus.it>
* libsupc++/exception (bad_exception): Add comment.
* libsupc++/new (bad_alloc): Same.
* libsupc++/typeinfo (bad_cast): Same.
(bad_typeid): Same.
From-SVN: r48700
2002-01-09 23:31:57 +00:00
Paolo Carlini
d66ae36a8b
libstdc++/3150: revert 2001-11-30 commit.
...
2002-01-09 Paolo Carlini <pcarlini@unitus.it>
libstdc++/3150: revert 2001-11-30 commit. DR266 only means
that the destructors should be removed from the descriptions
in the standard: writing them explicitly allows the vtable
heuristic to work. For additional information see:
http://gcc.gnu.org/ml/libstdc++/2002-01/msg00090.html
http://gcc.gnu.org/ml/libstdc++/2002-01/msg00110.html
http://gcc.gnu.org/ml/libstdc++/2002-01/msg00155.html
* libsupc++/exception (bad_exception::~bad_exception()):
Reintroduce declaration.
* libsupc++/new (bad_alloc::~bad_alloc()): Same.
* libsupc++/typeinfo (bad_cast::~bad_cast()): Same.
(bad_typeid::~bad_typeid()): Same.
* libsupc++/eh_exception.cc (bad_exception::~bad_exception()):
Reintroduce definition.
* libsupc++/new_handler.cc (bad_alloc::~bad_alloc()): Same.
* libsupc++/tinfo.cc (bad_cast::~bad_cast()): Same.
(bad_typeid::~bad_typeid()): Same.
From-SVN: r48687
2002-01-09 20:39:27 +00:00
Benjamin Kosnik
30c1fa7651
Makefile.am (c_base_srcdir): Remove duplicate '/'.
...
2002-01-09 Benjamin Kosnik <bkoz@redhat.com>
* include/Makefile.am (c_base_srcdir): Remove duplicate '/'.
* include/Makefile.in: Regenerate.
From-SVN: r48686
2002-01-09 20:34:19 +00:00
Bo Thorsen
2dd1d259ae
cpu_limits.h (__glibcpp_long_bits): Add definition.
...
2002-01-09 Bo Thorsen <bo@suse.co.uk>
* config/cpu/x86-64/bits/cpu_limits.h (__glibcpp_long_bits): Add
definition.
From-SVN: r48683
2002-01-09 14:45:47 +01:00
Benjamin Kosnik
9fbcb61abb
[multiple changes]
...
2002-01-08 Benjamin Kosnik <bkoz@redhat.com>
libstdc++/2913
libstdc++/4879
* include/bits/fstream.tcc (filebuf::_M_really_overflow): Test
return value of _M_file->sync().
(filebuf::showmanyc): Check for is_open.
* include/std/fstream (filebuf::sync): Tweak.
* testsuite/27_io/filebuf.cc: Tweak.
2002-01-08 John Fardo <jfardo@laurelnetworks.com>
Brad Garcia <garsh@attbi.com>
* testsuite/27_io/filebuf_members.cc: Add test.
From-SVN: r48654
2002-01-08 19:57:01 +00:00
Benjamin Kosnik
f2e12550ca
Makefile.am (mkinstalldirs): Add.
...
2002-01-07 Benjamin Kosnik <bkoz@redhat.com>
Craig Rodrigues <rodrigc@mediaone.net>
libstdc++/5174
* po/Makefile.am (mkinstalldirs): Add.
* po/Makefile.in: Regenerate.
From-SVN: r48609
2002-01-07 18:57:06 +00:00
David Billinghurst
ab10a269bb
testsuite_flags.in: Add -fmessage-length=0 to CXXFLAGS testsuite/lib/prune.exp...
...
2002-01-07 David Billinghurst <David.Billinghurst@riotinto.com>
* testsuite_flags.in: Add -fmessage-length=0 to CXXFLAGS
testsuite/lib/prune.exp: Delete lines ":In function ..."
from compiler output
testsuite/23_containers/map_operators.cc: Remove
dg-excess-errors comment
testsuite/23_containers/set_operators.cc: Likewise
From-SVN: r48590
2002-01-07 00:07:27 +00:00
Paolo Carlini
9efc7479a2
stl_function.h: Remove two lines of comments; adjust copyright years.
...
2002-01-06 Paolo Carlini <pcarlini@unitus.it>
* include/bits/stl_function.h: Remove two lines of comments;
adjust copyright years.
From-SVN: r48579
2002-01-06 09:14:15 +00:00
Benjamin Kosnik
54c1bf7801
Makefile.am (std_headers): Remove cXXX from list.
...
2002-01-04 Benjamin Kosnik <bkoz@redhat.com>
* include/Makefile.am (std_headers): Remove cXXX from list.
(c_base_srcdir): No bits subdirectory.
(c_base_builddir): Same.
(c_base_headers): Adjust names, add ciso646.
(bits_headers): Remove std_xxx.h headers.
* include/Makefile.in: Regenerate.
* include/ext/iterator: Adjust includes.
* include/ext/ropeimpl.h: Same.
* include/ext/stl_hash_fun.h: Same.
* include/ext/algorithm: Same.
* include/backward/bvector.h: Adjust includes.
* include/backward/vector.h: Same.
* include/backward/strstream: Same.
* include/backward/streambuf.h: Same.
* include/backward/stack.h: Same.
* include/backward/set.h: Same.
* include/backward/queue.h: Same.
* include/backward/multiset.h: Same.
* include/backward/multimap.h: Same.
* include/backward/map.h: Same.
* include/backward/list.h: Same.
* include/backward/iterator.h: Same.
* include/backward/iostream.h: Same.
* include/backward/iomanip.h: Same.
* include/backward/fstream.h: Same.
* include/backward/deque.h: Same.
* include/backward/complex.h: Same.
* include/bits/std_algorithm.h: Move to...
* include/std/algorithm: ...here.
* include/bits/std_iosfwd.h, std_locale.h, std_stack.h,
std_bitset.h, std_ios.h, std_map.h, std_stdexcept.h,
std_complex.h, std_iostream.h, std_memory.h, std_streambuf.h,
std_deque.h, std_istream.h, std_numeric.h, std_string.h,
std_fstream.h, std_ostream.h, std_utility.h, std_iterator.h,
std_queue.h, std_valarray.h, std_functional.h, std_limits.h,
std_set.h, std_vector.h, std_iomanip.h, std_list.h, std_sstream.h:
Same.
* include/c_std/bits/std_cassert.h: Move to...
* include/c_std/cassert: Here.
* include/c_std/std_cctype.h, std_cerrno.h, std_cfloat.h,
std_climits.h, std_clocale.h, std_cmath.h, std_csetjmp.h,
std_csignal.h, std_cstdarg.h, std_cstddef.h, std_cstdio.h,
std_cstdlib.h, std_cstring.h, std_ctime.h, std_cwchar.h,
std_cwctype.h: Same.
* include/c_std/cmath: Adjust cmath.tcc include.
* include/c_std/cstdlib: Adjust includes.
* include/c_std/cwchar: Same.
* include/c_std/ctime: Same.
* include/c_std/cstring: Same.
* include/c_std/cstdio: Same.
* include/c_std/bits: Remove directory.
* include/c/bits/std_cassert.h: Move to...
* include/c/cassert: Here.
* include/c/std_cctype.h, std_cerrno.h, std_cfloat.h,
std_climits.h, std_clocale.h, std_cmath.h, std_csetjmp.h,
std_csignal.h, std_cstdarg.h, std_cstddef.h, std_cstdio.h,
std_cstdlib.h, std_cstring.h, std_ctime.h, std_cwchar.h,
std_cwctype.h: Same.
* include/c/bits: Remove directory.
* include/std/cwctype: Remove.
* include/std/cwchar: Remove.
* include/std/ctime: Remove.
* include/std/cstring: Remove.
* include/std/cstdlib: Remove.
* include/std/cstdio: Remove.
* include/std/cstddef: Remove.
* include/std/cstdarg: Remove.
* include/std/csignal: Remove.
* include/std/csetjmp: Remove.
* include/std/cmath: Remove.
* include/std/clocale: Remove.
* include/std/climits: Remove.
* include/std/ciso646: Remove.
* include/std/cfloat: Remove.
* include/std/cerrno: Remove.
* include/std/cctype: Remove.
* include/std/cassert: Remove.
* include/bits/fpos.h: Adjust includes, removing <bits/std_xxx.h>
files and subsituting <.xxx>
* include/bits/valarray_array.h: Same.
* include/bits/stl_uninitialized.h: Same.
* include/bits/stl_alloc.h: Same.
* include/bits/stl_algobase.h: Same.
* include/bits/sstream.tcc: Same.
* include/bits/pthread_allocimpl.h: Same.
* include/bits/ostream.tcc: Same.
* include/bits/localefwd.h: Same.
* include/bits/locale_facets.tcc: Same.
* include/bits/locale_facets.h: Same.
* include/bits/istream.tcc: Same.
* include/bits/char_traits.h: Same.
* include/bits/boost_concept_check.h: Same.
* include/bits/basic_file.h: Same.
* include/std/bitset: Same.
* include/std/complex: Same.
* include/std/fstream: Same.
* include/std/functional: Same.
* include/std/ios: Same.
* include/std/iostream: Same.
* include/std/ostream: Same.
* include/std/sstream: Same.
* include/std/streambuf: Same.
* include/std/string: Same.
* include/std/iterator: Same.
* include/std/valarray: Same.
* src/ios.cc: Adjust includes.
* src/valarray-inst.cc: Same.
* src/string-inst.cc: Same.
* src/stl-inst.cc: Same.
* src/stdexcept.cc: Same.
* src/misc-inst.cc: Same.
* src/localename.cc: Same.
* src/locale-inst.cc: Same.
* src/locale.cc: Same.
* src/limits.cc: Same.
* src/concept-inst.cc: Same.
* src/complex_io.cc: Same.
* src/codecvt.cc: Same.
* src/bitset.cc: Same.
* src/cmath.cc: Same.
From-SVN: r48544
2002-01-04 21:27:36 +00:00
Paolo Carlini
3b007b5d6b
stl_tree.h (rb_tree): Move to...
...
2002-01-04 Paolo Carlini <pcarlini@unitus.it>
* include/bits/stl_tree.h (rb_tree): Move to...
* include/ext/rb_tree: ...here, new file.
* include/Makefile.am (ext_headers): Add new file.
* include/Makefile.in: Regenerate.
* include/bits/stl_tempbuf.h (get_temporary_buffer + helper,
return_temporary_buffer, struct temporary_buffer): Move to...
* include/ext/memory: ...here.
* testsuite/ext/headers.cc: Include <ext/rb_tree>.
* include/backward/tempbuf.h: Include <ext/memory>, tweak.
* include/backward/tree.h: Include <ext/rb_tree), tweak.
From-SVN: r48538
2002-01-04 17:02:28 +00:00
Paolo Carlini
01b0d4b85a
stl_numeric.h (power + helpers, iota): Move to...
...
2002-01-02 Paolo Carlini <pcarlini@unitus.it>
* include/bits/stl_numeric.h (power + helpers, iota): Move to...
* include/ext/numeric: ...here, new file.
* include/bits/stl_function.h (identity_element, unary_compose,
binary_compose, compose1, compose2, identity, select1st,
select2nd, project1st + helper, project2nd + helper,
constant_void_fun + helper, constant_unary_fun + helper,
costant_binary_fun + helper, constant0, constant1, constant2,
subtractive_rng, mem_fun1, mem_fun1_ref): Move to...
* include/ext/functional: ...here, new file.
* include/Makefile.am (ext_headers): Add new files.
* include/Makefile.in: Regenerate.
* testsuite/ext/headers.cc: Include <ext/numeric> and
<ext/functional>.
* include/backward/algo.h: Include <ext/numeric>, tweak.
* include/backward/function.h: Include <ext/functional>, tweak.
* include/ext/ropeimpl.h: Include <ext/numeric>.
From-SVN: r48519
2002-01-03 19:02:18 +00:00
Jeff Law
0487b51cbc
os_defines.h: Prefix __strtoll and __strtoull declarations with __extension__.
...
* config/os/hpux/bits/os_defines.h: Prefix __strtoll and
__strtoull declarations with __extension__.
From-SVN: r48516
2002-01-03 11:03:15 -07:00
David Billinghurst
dd37368c6d
prune.exp: Correct regular expression for -ffunction-sections
...
2002-01-03 David Billinghurst <David.Billinghurst@riotinto.com>
* testsuite/lib/prune.exp: Correct regular expression for
-ffunction-sections
From-SVN: r48511
2002-01-03 14:25:14 +00:00
Phil Edwards
bf7edb60c8
re PR libstdc++/2054 (g++-3 rejects legal code, accepted by g++-2.95.2 (functors))
...
2002-01-02 Phil Edwards <pme@gcc.gnu.org>
* include/bits/stl_algo.h (upper_bound, equal_range, binary_search):
Change concept checks, as with lower_bound and PR 2054.
* testsuite/ext/concept_checks.cc: Expand test to include those.
From-SVN: r48492
2002-01-03 04:44:07 +00:00
Phil Edwards
361bf10c13
boost_concept_check.h: Import some changes from upsteam (Boost) version.
...
2002-01-02 Phil Edwards <pme@gcc.gnu.org>
* include/bits/boost_concept_check.h: Import some changes from
upsteam (Boost) version.
From-SVN: r48489
2002-01-03 03:21:19 +00:00
Paolo Carlini
f53d0ff143
stl_algobase.h (copy_n + helpers, [...]): Move to...
...
2002-01-02 Paolo Carlini <pcarlini@unitus.it>
* include/bits/stl_algobase.h (copy_n + helpers,
lexicographical_compare_3way + helpers): Move to...
* include/ext/algorithm: ...here.
* include/bits/stl_uninitialized.h (uninitialized_copy_n +
helpers): Move to...
* include/ext/memory: ...here, new file.
* include/Makefile.am (ext_headers): Add new file.
* include/Makefile.in: Regenerate.
* testsuite/ext/headers.cc: Include <ext/memory>.
* include/backward/algobase.h: Include <ext/memory> and
<ext/algorithm>, tweak.
* include/ext/ropeimpl.h: Include <ext/memory>, tweak.
* include/ext/stl_rope.h: Include <ext/memory>, tweak.
From-SVN: r48467
2002-01-02 12:16:56 +00:00
Roger Sayle
709f271858
stubs.c (sinf,cosf): Implement stubs to enable the equivalent ___builtin__ versions.
...
2002-01-01 Roger Sayle <roger@eyesopen.com>
* libmath/stubs.c (sinf,cosf): Implement stubs to enable the
equivalent ___builtin__ versions.
* include/c_shadow/bits/std_cmath.h: All __builtin math functions
are available in libstdc++ as the necessary stub implementations
are provided by libmath/stubs.c.
From-SVN: r48445
2002-01-01 20:50:16 +01:00
Jason Thorpe
40ded87230
configure.in: Add support for NetBSD cross compiles.
...
* configure.in: Add support for NetBSD cross compiles.
* configure: Regenerate.
From-SVN: r48443
2002-01-01 18:12:06 +00:00
Paolo Carlini
6d66e50d52
iterator: Add #include <bits/std_iterator.h>, tweak.
...
2001-12-31 Paolo Carlini <pcarlini@unitus.it>
* include/ext/iterator: Add #include <bits/std_iterator.h>, tweak.
* testsuite/ext/headers.cc: Add <ext/iterator>.
From-SVN: r48430
2001-12-31 19:30:24 +00:00
Paolo Carlini
36955a954f
algo.h: Add two more using declarations.
...
2001-12-31 Paolo Carlini <pcarlini@unitus.it>
* include/backward/algo.h: Add two more using declarations.
* include/backward/iterator.h: Include <ext/iterator>,
add using declaration.
* include/ext/algorithm: Add #pragma GCC system_header.
From-SVN: r48429
2001-12-31 18:03:47 +00:00
Phil Edwards
3d90ff9352
stl_bvector.h: Change calls to 3-argument distance() into standard 2-argument version.
...
2001-12-31 Phil Edwards <pme@gcc.gnu.org>
* include/bits/stl_bvector.h: Change calls to 3-argument distance()
into standard 2-argument version.
* include/bits/stl_deque.h: Likewise.
* include/bits/stl_tempbuf.h: Likewise.
* include/bits/stl_tree.h: Likewise.
* include/bits/stl_vector.h: Likewise.
* include/ext/stl_hashtable.h: Likewise.
* include/bits/stl_iterator_base_funcs.h: Move distance() extension...
* include/ext/iterator: to here. New file.
* include/Makefile.am (ext_headers): Add new file, alphabatize.
* include/Makefile.in: Regenerate.
From-SVN: r48428
2001-12-31 16:16:17 +00:00
Phil Edwards
0de92bd834
stl_deque.h: Doxygenate with initial/example hooks.
...
2001-12-31 Phil Edwards <pme@gcc.gnu.org>
* include/bits/stl_deque.h: Doxygenate with initial/example hooks.
Clean up spacing and indentation.
From-SVN: r48426
2001-12-31 14:53:47 +00:00
Paolo Carlini
63fea34ee3
slist: Move into __gnu_cxx, tweak, add using declarations.
...
2001-12-31 Paolo Carlini <pcarlini@unitus.it>
* include/ext/slist: Move into __gnu_cxx,
tweak, add using declarations.
From-SVN: r48423
2001-12-31 10:26:01 +00:00
Paolo Carlini
e538847e1c
hash_map: Move into __gnu_cxx, tweak, add using declarations.
...
2001-12-31 Paolo Carlini <pcarlini@unitus.it>
* include/ext/hash_map: Move into __gnu_cxx,
tweak, add using declarations.
* include/ext/hash_set: Ditto.
* include/ext/ropeimpl.h: Ditto.
* include/ext/stl_hash_fun.h: Ditto.
* include/ext/stl_hashtable.h: Ditto.
* include/ext/stl_rope.h: Ditto.
* src/ext-inst.cc: Tweak.
* testsuite/ext/rope.cc: Tweak.
From-SVN: r48422
2001-12-31 10:22:00 +00:00
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
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
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