Paolo Carlini
1b90e7a391
insert.cc: For std::map instantiate the allocator for a correct pair type.
...
2004-08-19 Paolo Carlini <pcarlini@suse.de>
* testsuite/performance/20_util/allocator/insert.cc: For std::map
instantiate the allocator for a correct pair type.
* testsuite/performance/20_util/allocator/insert_insert.cc: Likewise.
* testsuite/performance/20_util/allocator/map_thread.cc: Likewise.
* testsuite/performance/20_util/allocator/producer_consumer.cc:
Likewise.
* testsuite/performance/20_util/allocator/list_sort_search.cc: Very
minor formatting fixes.
* testsuite/performance/20_util/allocator/map_mt_find.cc: Likewise.
From-SVN: r86269
2004-08-19 20:22:45 +00:00
Paolo Carlini
abc145a322
1.cc: Add VERIFY on the results.
...
2004-08-19 Paolo Carlini <pcarlini@suse.de>
* testsuite/22_locale/time_put/put/char/1.cc: Add VERIFY on the
results.
* testsuite/22_locale/time_put/put/char/2.cc: Likewise.
* testsuite/22_locale/time_put/put/char/3.cc: Likewise.
* testsuite/22_locale/time_put/put/char/4.cc: Likewise.
* testsuite/22_locale/time_put/put/wchar_t/1.cc: Likewise.
* testsuite/22_locale/time_put/put/wchar_t/2.cc: Likewise.
* testsuite/22_locale/time_put/put/wchar_t/3.cc: Likewise.
* testsuite/22_locale/time_put/put/wchar_t/4.cc: Likewise.
From-SVN: r86246
2004-08-19 10:30:05 +00:00
Paolo Carlini
861aa21540
baseline_symbols.txt: Update to 3.4.0.
...
2004-08-19 Paolo Carlini <pcarlini@suse.de>
* config/abi/x86_64-linux-gnu/baseline_symbols.txt: Update to 3.4.0.
From-SVN: r86242
2004-08-19 08:47:17 +00:00
Matthias Klose
f80fd74213
baseline_symbols.txt: Update to 3.4.0.
...
2004-08-18 Matthias Klose <doko@debian.org>
* config/abi/hppa-linux-gnu/baseline_symbols.txt: Update to 3.4.0.
* config/abi/i386-linux-gnu/baseline_symbols.txt: New.
* config/abi/powerpc-linux-gnu/baseline_symbols.txt: New.
From-SVN: r86226
2004-08-19 00:18:04 +00:00
GCC Administrator
5b2005cc6e
Daily bump.
...
From-SVN: r86224
2004-08-19 00:16:18 +00:00
GCC Administrator
f2d16e4add
Daily bump.
...
From-SVN: r86163
2004-08-18 00:16:20 +00:00
Paolo Carlini
7fa53b443a
baseline_symbols.txt: Update to 3.4.0.
...
2004-08-17 Paolo Carlini <pcarlini@suse.de>
* config/abi/alpha-linux-gnu/baseline_symbols.txt: Update to 3.4.0.
From-SVN: r86155
2004-08-17 22:58:55 +00:00
Paolo Carlini
1bc7e46697
baseline_symbols.txt: Update to 3.4.0.
...
2004-08-17 Paolo Carlini <pcarlini@suse.de>
* config/abi/ia64-linux-gnu/baseline_symbols.txt: Update to 3.4.0.
From-SVN: r86142
2004-08-17 20:25:55 +00:00
Benjamin Kosnik
4c7cb3ea1e
baseline_symbols.txt: Update to 3.4.0.
...
2004-08-17 Benjamin Kosnik <bkoz@redhat.com>
* config/abi/i486-linux-gnu/baseline_symbols.txt: Update to 3.4.0.
From-SVN: r86126
2004-08-17 15:17:03 +00:00
GCC Administrator
9a9ff54903
Daily bump.
...
From-SVN: r86091
2004-08-17 00:16:21 +00:00
Paolo Carlini
82cb25749b
indirect_array.h: Trivial formatting fixes.
...
2004-08-16 Paolo Carlini <pcarlini@suse.de>
* include/bits/indirect_array.h: Trivial formatting fixes.
* include/bits/valarray_after.h: Likewise.
* include/bits/valarray_array.h: Likewise.
* src/valarray-inst.cc: Likewise.
From-SVN: r86056
2004-08-16 14:50:31 +00:00
GCC Administrator
ac41c41d46
Daily bump.
...
From-SVN: r86043
2004-08-16 00:16:13 +00:00
Paolo Carlini
ba43cf0b4f
2832.cc: Remove junk.
...
2004-08-15 Paolo Carlini <pcarlini@suse.de>
* testsuite/27_io/basic_stringstream/rdbuf/char/2832.cc: Remove junk.
* testsuite/27_io/basic_stringstream/str/char/1.cc: Likewise.
* testsuite/27_io/basic_stringstream/str/char/3.cc: Likewise.
* testsuite/27_io/basic_stringstream/rdbuf/wchar_t/2832.cc: New.
* testsuite/27_io/basic_stringstream/str/wchar_t/1.cc: Likewise.
* testsuite/27_io/basic_stringstream/str/wchar_t/2.cc: Likewise.
* testsuite/27_io/basic_stringstream/str/wchar_t/3.cc: Likewise.
* testsuite/27_io/basic_stringstream/str/wchar_t/4.cc: Likewise.
2004-08-15 Paolo Carlini <pcarlini@suse.de>
* include/bits/deque.tcc: Trivial formatting fixes.
From-SVN: r86040
2004-08-15 23:08:58 +00:00
Paolo Carlini
23d4fa49c6
deque.tcc: Trivial formatting fixes.
...
2004-08-15 Paolo Carlini <pcarlini@suse.de>
* include/bits/deque.tcc: Trivial formatting fixes.
* include/bits/locale_facets.tcc (num_get<>::do_get(&bool)):
Remove unneded typedef.
* include/bits/locale_facets.tcc: Very minor tweaks.
* testsuite/22_locale/time_put/put/wchar_t/1.cc: Use proper
type for the fill argument.
* testsuite/22_locale/time_put/put/wchar_t/10.cc: Likewise.
* testsuite/22_locale/time_put/put/wchar_t/2.cc: Likewise.
* testsuite/22_locale/time_put/put/wchar_t/3.cc: Likewise.
* testsuite/22_locale/time_put/put/wchar_t/4.cc: Likewise.
* testsuite/22_locale/time_put/put/wchar_t/5.cc: Likewise.
* testsuite/22_locale/time_put/put/wchar_t/6.cc: Likewise.
* testsuite/22_locale/time_put/put/wchar_t/7.cc: Likewise.
* testsuite/22_locale/time_put/put/wchar_t/8.cc: Likewise.
From-SVN: r86026
2004-08-15 19:03:44 +00:00
GCC Administrator
b9413dbc44
Daily bump.
...
From-SVN: r86014
2004-08-15 00:16:15 +00:00
GCC Administrator
77a30f085d
Daily bump.
...
From-SVN: r85979
2004-08-14 00:16:16 +00:00
Paolo Carlini
b13de673b1
debug.cc (_Error_formatter::_M_print_string): Fix thinko, memmove is not needed, memcpy suffices.
...
2004-08-13 Paolo Carlini <pcarlini@suse.de>
* src/debug.cc (_Error_formatter::_M_print_string): Fix thinko,
memmove is not needed, memcpy suffices.
From-SVN: r85949
2004-08-13 16:53:12 +00:00
Paolo Carlini
85a5f64e9f
std_fstream.h (class basic_ifstream, [...]): Add const overloads of is_open, as per DR 365 [WP].
...
2004-08-13 Paolo Carlini <pcarlini@suse.de>
* include/std/std_fstream.h (class basic_ifstream,
class basic_ofstream, class basic_fstream): Add const overloads
of is_open, as per DR 365 [WP].
* docs/html/ext/howto.html: Add an entry for DR 365.
From-SVN: r85948
2004-08-13 16:47:43 +00:00
GCC Administrator
06d9ed3cf5
Daily bump.
...
From-SVN: r85921
2004-08-13 00:16:17 +00:00
Paolo Carlini
a5fcc9c713
configure.ac: Specify version 1.8.5 in AM_INIT_AUTOMAKE.
...
2004-08-12 Paolo Carlini <pcarlini@suse.de>
* configure.ac: Specify version 1.8.5 in AM_INIT_AUTOMAKE.
From-SVN: r85911
2004-08-12 22:38:21 +00:00
Paolo Carlini
0a162bde46
re PR libstdc++/16956 ([3.4 only] std::stringbuf::seekoff return wrong position value)
...
2004-08-12 Paolo Carlini <pcarlini@suse.de>
PR libstdc++/16956
* include/bits/sstream.tcc (basic_stringbuf<>::seekoff): Add __off
to the returned value, reorganize a bit.
* testsuite/27_io/basic_stringbuf/seekoff/char/16956.cc: New.
* testsuite/27_io/basic_stringbuf/seekoff/wchar_t/16956.cc: New.
* testsuite/27_io/basic_stringbuf/seekoff/char/1.cc: Remove junk.
* testsuite/27_io/basic_stringbuf/seekoff/wchar_t/1.cc: Likewise.
* testsuite/27_io/basic_stringbuf/seekpos/char/1.cc: Likewise.
* testsuite/27_io/basic_stringbuf/seekpos/wchar_t/1.cc: Likewise.
From-SVN: r85910
2004-08-12 22:26:32 +00:00
Paul Brook
47bedfb079
cxxabi_tweaks.h: Define __cxa_vec_ctor_return and _GLIBCXX_CXA_VEC_CTOR_RETURN.
...
* config/cpu/arm/cxxabi_tweaks.h: Define __cxa_vec_ctor_return and
_GLIBCXX_CXA_VEC_CTOR_RETURN.
* config/cpu/generic/cxxabi_tweaks.h: Ditto.
* libsupc++/cxxabi.h (__cxa_vec_ctor, __cxa_vec_cctor): Use
__cxa_vec_ctor_return.
* libsupc++/vec.cc (__cxa_vec_ctor, __cxa_vec_cctor): Ditto.
Use _GLIBCXX_CXA_VEC_CTOR_RETURN.
* g++.dg/abi/arm_cxa_vec_1.C: New test.
From-SVN: r85891
2004-08-12 18:50:38 +00:00
Kelley Cook
7eaf73d757
Makefile.in, [...]: Regenerate
...
2004-08-12 Kelley Cook <kcook@gcc.gnu.org>
* Makefile.in, aclocal.m4, configure, include/Makefile.in,
libmath/Makefile.in, libsupc++/Makefile.in, po/Makefile.in,
src/Makefile.in, testsuite/Makefile.in: Regenerate
From-SVN: r85869
2004-08-12 11:54:13 +00:00
Jan Beulich
03a2b8100f
2004-08-12 Jan Beulich <jbeulich@novell.com>
...
* config/locale/generic/ctype_members.cc
(ctype<wchar_t>::_M_convert_to_wmask): Default case must not use 0 as
initializer for return value, as that is invalid for enumerated types.
* config/locale/gnu/ctype_members.cc
(ctype<wchar_t>::_M_convert_to_wmask): Likewise.
From-SVN: r85862
2004-08-12 09:46:39 +00:00
GCC Administrator
eb3643d800
Daily bump.
...
From-SVN: r85836
2004-08-12 00:16:15 +00:00
Paolo Carlini
be23502b44
1.cc: Fix typo.
...
2004-08-11 Paolo Carlini <pcarlini@suse.de>
* testsuite/27_io/basic_stringbuf/sbumpc/wchar_t/1.cc: Fix typo.
From-SVN: r85804
2004-08-11 14:05:47 +00:00
Paolo Carlini
665cdd2c85
1.cc: Declare test variable.
...
2004-08-11 Paolo Carlini <pcarlini@suse.de>
* testsuite/27_io/basic_stringbuf/imbue/char/1.cc: Declare test
variable.
* testsuite/27_io/basic_stringbuf/imbue/wchar_t/1.cc: Ditto.
* testsuite/27_io/basic_stringbuf/in_avail/char/1.cc: Remove junk.
* testsuite/27_io/basic_stringbuf/in_avail/wchar_t/1.cc: Ditto.
* testsuite/27_io/basic_stringbuf/sbumpc/char/1.cc: Ditto.
* testsuite/27_io/basic_stringbuf/sbumpc/wchar_t/1.cc: Ditto.
* testsuite/27_io/basic_stringbuf/setbuf/char/1.cc: Ditto.
* testsuite/27_io/basic_stringbuf/setbuf/wchar_t/1.cc: Ditto.
* testsuite/27_io/basic_stringbuf/sgetc/char/1.cc: Ditto.
* testsuite/27_io/basic_stringbuf/sgetc/wchar_t/1.cc: Ditto.
* testsuite/27_io/basic_stringbuf/sgetn/char/1.cc: Ditto.
* testsuite/27_io/basic_stringbuf/sgetn/wchar_t/1.cc: Ditto.
* testsuite/27_io/basic_stringbuf/snextc/char/1.cc: Ditto.
* testsuite/27_io/basic_stringbuf/snextc/wchar_t/1.cc: Ditto.
* testsuite/27_io/basic_stringbuf/sputbackc/char/1.cc: Ditto.
* testsuite/27_io/basic_stringbuf/sputbackc/wchar_t/1.cc: Ditto.
* testsuite/27_io/basic_stringbuf/sputc/char/1.cc: Ditto.
* testsuite/27_io/basic_stringbuf/sputc/wchar_t/1.cc: Ditto.
* testsuite/27_io/basic_stringbuf/sputn/char/1.cc: Ditto.
* testsuite/27_io/basic_stringbuf/sputn/wchar_t/1.cc: Ditto.
* testsuite/27_io/basic_stringbuf/sungetc/char/1.cc: Ditto.
* testsuite/27_io/basic_stringbuf/sungetc/wchar_t/1.cc: Ditto.
From-SVN: r85802
2004-08-11 13:47:24 +00:00
Paolo Carlini
48dd95f2a4
re PR libstdc++/16959 (Segmentation fault in ios_base::sync_with_stdio)
...
2004-08-11 Paolo Carlini <pcarlini@suse.de>
Petur Runolfsson <peturr02@ru.is>
PR libstdc++/16959
* src/ios_init.cc (ios_base::sync_with_stdio): Make sure the
standard streams are constructed.
* testsuite/27_io/ios_base/sync_with_stdio/16959.cc: New.
Co-Authored-By: Petur Runolfsson <peturr02@ru.is>
From-SVN: r85797
2004-08-11 09:31:13 +00:00
GCC Administrator
688d37c4eb
Daily bump.
...
From-SVN: r85780
2004-08-11 00:16:27 +00:00
GCC Administrator
19bb9ed6f5
Daily bump.
...
From-SVN: r85733
2004-08-10 00:16:15 +00:00
Paolo Carlini
705debec1e
stl_bvector.h: Trivial formatting fixes.
...
2004-08-09 Paolo Carlini <pcarlini@suse.de>
* include/bits/stl_bvector.h: Trivial formatting fixes.
2004-08-09 Paolo Carlini <pcarlini@suse.de>
* src/ios.cc (ios_base::_M_grow_words): Uglify the names.
From-SVN: r85716
2004-08-09 13:51:33 +00:00
Jason Merrill
27f577e57d
fix typo
...
From-SVN: r85715
2004-08-09 09:18:56 -04:00
GCC Administrator
d1e8ac2202
Daily bump.
...
From-SVN: r85702
2004-08-09 00:16:13 +00:00
GCC Administrator
c30ff96bd5
Daily bump.
...
From-SVN: r85682
2004-08-08 00:16:11 +00:00
Jonathan Wakely
8844a2f541
debug.cc (_Error_formatter::_M_print_string): In order to print individual words from __string...
...
2004-08-07 Jonathan Wakely <redi@gcc.gnu.org>
Paolo Carlini <pcarlini@suse.de>
* src/debug.cc (_Error_formatter::_M_print_string): In order
to print individual words from __string, _M_format_word can't
be called since may be just sprintf, thus ignoring completely
__n: instead, use memmove and append '\0' by hand.
Co-Authored-By: Paolo Carlini <pcarlini@suse.de>
From-SVN: r85670
2004-08-07 15:31:50 +00:00
Paolo Carlini
49864a8255
c_locale.h (__convert_from_v): Don't use a default for __prec, assume __prec >= 0 and simplify.
...
2004-08-07 Paolo Carlini <pcarlini@suse.de>
* config/locale/generic/c_locale.h (__convert_from_v): Don't
use a default for __prec, assume __prec >= 0 and simplify.
* config/locale/gnu/c_locale.h (__convert_from_v): Likewise.
* include/bits/locale_facets.tcc (money_put<>::do_put(long double)):
Pass format "%.*Lf" + precision == 0, equivalent to "%.0Lf".
From-SVN: r85669
2004-08-07 13:48:31 +00:00
GCC Administrator
cbf8a6ab5d
Daily bump.
...
From-SVN: r85666
2004-08-07 00:16:19 +00:00
GCC Administrator
78701d2aad
Daily bump.
...
From-SVN: r85618
2004-08-06 00:16:23 +00:00
GCC Administrator
5a05b7c5da
Daily bump.
...
From-SVN: r85585
2004-08-05 00:16:14 +00:00
Jason Merrill
d4794d1a61
fix typo
...
From-SVN: r85575
2004-08-04 17:13:16 -04:00
Phil Edwards
20c176ab4b
configopts.html: Emphasize that options change.
...
2004-08-04 Phil Edwards <phil@codesourcery.com>
* docs/html/configopts.html: Emphasize that options change.
* docs/html/17_intro/configury.html: Update links.
From-SVN: r85560
2004-08-04 14:40:48 +00:00
GCC Administrator
fff63b30a4
Daily bump.
...
From-SVN: r85534
2004-08-04 00:16:44 +00:00
Paolo Carlini
6e0a7f2bdb
list.tcc: Trivial formatting fixes.
...
2004-08-03 Paolo Carlini <pcarlini@suse.de>
* include/bits/list.tcc: Trivial formatting fixes.
From-SVN: r85470
2004-08-03 10:11:31 +00:00
Mark Mitchell
610b0ddd0e
new_op.cc: Update comments.
...
* libsupc++/new_op.cc: Update comments.
* libsupc++/del_op.cc: Likewise.
From-SVN: r85464
2004-08-03 07:11:16 +00:00
Mark Mitchell
723acbd5fa
cxxabi.h: Make all declarations have default visibility.
...
* libsupc++/cxxabi.h: Make all declarations have default
visibility.
* libsupc++/exception: Likewise.
* libsupc++/new: Likewise.
* libsupc++/typeinfo: Likewise.
* libsupc++/unwind-cxx.h: Likewise.
* libsupc++/eh_alloc.cc (__cxa_allocate_exception): Put it into
the __cxxabiv1 namespace.
(__cxa_free_exception): Likewise.
* libsupc++/eh_aux_runtime.cc (__cxa_bad_cast): Likewise.
(__cxa_bad_typeid): Likewise.
* libsupc++/eh_catch.cc (__cxa_begin_catch): Likewise.
(__cxa_end_catch): Likewise.
* libsupc++/eh_globals.cc (__cxa_get_globals_fast): Likewise.
(__cxa_get_globals): Likewise.
* libsupc++/eh_throw.cc (__cxa_throw): Likewise.
(__cxa_rethrow): Likewise.
* libsupc++/pure.cc (__cxa_pure_virtual): Likewise.
* libsupc++/eh_type.cc: Include <cxxabi.h>.
From-SVN: r85463
2004-08-03 06:45:54 +00:00
GCC Administrator
faebe6c239
Daily bump.
...
From-SVN: r85458
2004-08-03 00:16:11 +00:00
Mark Mitchell
4c24b21a47
Makefile.am (hosted_source): Add libmath and testsuite.
...
* Makefile.am (hosted_source): Add libmath and testsuite.
(SUBDIRS): Remove them.
* acinclude.m4: (GLIBCXX_ENABLED_HOSTED): Default to freestanding
on arm*-*-symbianelf*.
* crossconfig.m4: Add arm*-*-symbianelf* support.
* include/c_std/std/std_cstdlib.h (stdlib.h): Do not include it
when freestanding. Do not bring names into std:: namespace with
"using" when freestanding. Declare required functions and macros
when freestanding.
* libsupc++/Makefile.am (c_sources): Do not include cp-demangle.c
when freestanding.
* libsupc++/del_op.cc: Declare "free" only when freestanding.
* libsupc++/eh_alloc.cc (cstring): Include it only when hosted.
(malloc): Declare when freestanding.
(free): Likewise.
(memset): Likewise.
(__cxa_allocate_exception): Call malloc, not std::malloc. Likewise
for memset.
(__cxa_free_exception): Likewise for free.
* libsupc++/new_op.cc: Declare "malloc" when freestanding.
* libsupc++/pure.cc (writestr): Define to nothing when
freestanding.
* libsupc++/vterminate.cc: Do not define anything when
freestanding.
* Makefile.in: Regenerated.
* aclocal.m4: Likewise.
* configure: Likewise.
* include/Makefile.in: Likewise.
* libmath/Makefile.in: Likewise.
* libsupc++/Makefile.in: Likewise.
* po/Makefile.in: Likewise.
* src/Makefile.in: Likewise.
* testsuite/Makefile.in: Likewise.
From-SVN: r85452
2004-08-02 20:28:22 +00:00
Matt Austern
f1197ae160
re PR libstdc++/16844 (Explicit instantiation failing)
...
PR libstdc++/16844
* include/bits/stl_list.h (_M_create_node): Remove unused
zero-argument version.
* include/ext/slist (_M_create_node): Pass two arguments to
allocator's construct() member function.
* testsuite/23_containers/deque/explicit_instantiation.cc: New.
* testsuite/23_containers/list/explicit_instantiation.cc: New.
* testsuite/23_containers/vector/explicit_instantiation.cc: New.
* testsuite/23_containers/map/explicit_instantiation.cc: New.
* testsuite/23_containers/set/explicit_instantiation.cc: New.
* testsuite/23_containers/multimap/explicit_instantiation.cc: New.
* testsuite/23_containers/multiset/explicit_instantiation.cc: New.
* testsuite/ext/hash_set_explicit_instantiation.cc: New.
* testsuite/ext/slist_explicit_instantiation.cc: New.
From-SVN: r85428
2004-08-02 04:40:19 +00:00
GCC Administrator
6a3bc5b1d0
Daily bump.
...
From-SVN: r85416
2004-08-02 00:16:13 +00:00
GCC Administrator
c12ebfef94
Daily bump.
...
From-SVN: r85397
2004-08-01 00:16:14 +00:00
Paolo Carlini
2347da644d
locale_facets.tcc (num_get<>::_M_extract_float, [...]): In the main parsing loop delay the life of __q to the actual use point.
...
2004-07-30 Paolo Carlini <pcarlini@suse.de>
* include/bits/locale_facets.tcc (num_get<>::_M_extract_float,
num_get<>::_M_extract_int): In the main parsing loop delay the
life of __q to the actual use point.
From-SVN: r85380
2004-07-31 09:00:09 +00:00
GCC Administrator
5571d77b5a
Daily bump.
...
From-SVN: r85369
2004-07-31 00:16:14 +00:00
GCC Administrator
e109f49acc
Daily bump.
...
From-SVN: r85321
2004-07-30 00:16:56 +00:00
Paolo Carlini
7c9b102ede
re PR libstdc++/14220 ([3.5] num_put::do_put() undesired float/double behavior)
...
2004-07-29 Paolo Carlini <pcarlini@suse.de>
PR libstdc++/14220
* include/bits/locale_facets.tcc (num_put<>::_M_insert_float):
Don't clip the precision passed down to __convert_from_v:
22.2.2.2.2 nowhere says so.
* testsuite/22_locale/num_put/put/char/14220.cc: New.
* testsuite/22_locale/num_put/put/wchar_t/14220.c: Likewise.
From-SVN: r85315
2004-07-29 22:11:04 +00:00
Paolo Carlini
f70f3f7e9f
lwg-active.html, [...]: Import Revision 31.
...
2004-07-29 Paolo Carlini <pcarlini@suse.de>
* docs/html/ext/lwg-active.html, lwg-defects.html: Import Revision 31.
From-SVN: r85310
2004-07-29 18:04:42 +00:00
Paolo Carlini
c891b860da
PR libstdc++/12658 (continued)
...
2004-07-29 Paolo Carlini <pcarlini@suse.de>
Petur Runolfsson <peturr02@ru.is>
PR libstdc++/12658 (continued)
* src/locale_init.cc (locale::locale, locale::global): Use
a single locale_mutex instead of two separate mutexes.
Co-Authored-By: Petur Runolfsson <peturr02@ru.is>
From-SVN: r85301
2004-07-29 15:54:50 +00:00
Paolo Carlini
5875306379
re PR libstdc++/16813 (compiler error in DEBUG version of range insertion std::map::insert)
...
2004-07-29 Paolo Carlini <pcarlini@suse.de>
PR libstdc++/16813
* include/debug/map.h (insert(_InputIterator, _InputIterator)):
Fix typo.
* testsuite/23_containers/map/insert/16813.cc: New.
From-SVN: r85295
2004-07-29 10:52:49 +00:00
Phil Edwards
d815ea49f6
index.html: Update version references.
...
2004-07-29 Phil Edwards <phil@codesourcery.com>
* docs/html/faq/index.html: Update version references. Make
clear that code from SGI has diverged greatly. Remove references
to library snapshots and what's-new sections.
* docs/html/faq/index.txt: Regenerate.
From-SVN: r85289
2004-07-29 08:47:34 +00:00
GCC Administrator
0fa2c11ae8
Daily bump.
...
From-SVN: r85280
2004-07-29 00:16:13 +00:00
Matt Austern
05bfc51d87
Fix minor typo in my ChangeLog entry.
...
From-SVN: r85266
2004-07-28 17:17:50 +00:00
Matt Austern
1985f1cdaa
stl_construct.h (_Destroy): New three-argument overload that takes an allocator argument.
...
* include/bits/stl_construct.h (_Destroy): New three-argument
overload that takes an allocator argument. Another inline
three-argument overload that takes std::allocator and dispatches
to the two-argument version.
* include/bits/stl_uninitialized.h (__uninitialized_fill_n_aux):
Change return type to void to match uninitialized_fill_n.
(__uninitialized_copy_a_): New function. Like uninitialized_copy
except that it takes an allocator and uses it for construct and
destroy. If the allocator is std::allocator, dispatches to
uninitialized_copy.
(__uninitialized_fill_a): Likewise.
(__uninitialized_fill_n_a): Likewise.
(__uninitialized_copy_copy): Give it an allocator argument.
(__uninitialized_fill_copy): Likewise.
(__uninitialized_copy_fill): Likewise.
* include/bits/deque.tcc: Use new forms defined in stl_construct.h
and stl_uninitialized.h. Replace use of single-argument _Construct
and _Destroy with use of allocator's construct and destroy methods.
* include/bits/list.tcc: Likewise.
* include/bits/stl_deque.h: Likewise.
* include/bits/stl_list.h: Likewise.
* include/bits/stl_tree.h: Likewise.
* include/bits/stl_vector.h: Likewise.
* include/bits/vector.tcc: Likewise.
* include/ext/hashtable.h: Use rebind so that allocator_type
has correct type for a container's allocator. Replace use of
single-argument _Construct and _Destroy with use of allocator's
construct and destroy methods.
* include/ext/memory (__uninitialized_copy_n_a): New function.
Like uninitialized_copy_n except that it takes an extra parameter,
an allocator, and uses it for construct and destroy operations.
* include/ext/rope: Use new forms defined in stl_construct.h,
stl_uninitialized.h, and ext/memory. Replace use of single-argument
_Construct and _Destroy with allocator construct and destroy methods.
* include/ext/ropeimpl.h: Likewise.
* include/ext/slist.h: Likewise.
* testsuite/testsuite_allocator.h (check_construct_destroy): New.
* testsuite/testsuite_allocator.cc (check_construct_destroy): New.
* testsuite/23_containers/deque/check_construct_destroy.cc: New.
* testsuite/23_containers/list/check_construct_destroy.cc: New.
* testsuite/23_containers/set/check_construct_destroy.cc: New.
* testsuite/23_containers/vector/check_construct_destroy.cc: New.
* testsuite/ext/hash_check_construct_destroy.cc: New.
* testsuite/ext/slist_check_construct_destroy.cc: New.
From-SVN: r85265
2004-07-28 16:37:20 +00:00
Alexandre Oliva
312209c6a5
Introduce sh4a support.
...
gcc/ChangeLog:
Introduce sh4a support.
* config.gcc: Handle sh4a multilibs and cpu selection.
* config/sh/sh.h: Likewise. Handle sh4a command line flags.
* config/sh/t-mlib-sh4a: New.
* config/sh/t-mlib-sh4al: New.
* config/sh/t-mlib-sh4a-nofpu: New.
* config/sh/t-mlib-sh4a-single: New.
* config/sh/t-mlib-sh4a-single-only: New.
2004-02-20 DJ Delorie <dj@redhat.com>
* config/sh/sh.md ("movua"): Change constraint from "m" to "Sua".
* config/sh/sh.h (EXTRA_CONSTRAINT_S): Add "Sua" support.
2003-08-22 Eric Christopher <echristo@redhat.com>
* config/sh/sh4a.md: Update for chip errata.
2003-08-07 Eric Christopher <echristo@redhat.com>
* config/sh/sh4a.md: New file. sh4a processor description.
2003-07-08 Alexandre Oliva <aoliva@redhat.com>
* config/sh/sh.h (TARGET_SWITCHES): Added 4al. Adjust description
of -m4a-nofpu.
(SH_ASM_SPEC): Pass -dsp for -m4al, not -m4a-nofpu.
* config/sh/t-sh (MULTILIB_MATCHES): Map -m4al to -m4a-nofpu.
* doc/invoke.texi (SH Options): Document -m4al.
2003-07-03 Alexandre Oliva <aoliva@redhat.com>
* config/sh/sh.c (expand_block_move): Remove commented-out code
checked in by mistake.
(sh_cannot_change_mode_class): Enable SUBREGs to be used to select
single elements from SFmode vectors.
* config/sh/sh.md (fsca): Use VEC_CONCAT to initialize the output
register.
(sinsf2, cossf2, sindf2, cosdf2): Don't emit CLOBBER.
2003-07-01 Alexandre Oliva <aoliva@redhat.com>
* config/sh/sh.h (sh_fsca_sf2int, sh_fsca_df2int,
sh_fsca_int2sf): Remove variable declarations.
* config/sh/sh.c (sh_fsca_sf2int, sh_fsca_df2int,
sh_fsca_int2sf): New functions.
(sh_fsca_sf2int_rtx, sh_fsca_df2int_rtx,
sh_fsca_int2sf_rtx): New static variables.
* config/sh/sh-protos.h (sh_fsca_sf2int, sh_fsca_df2int,
sh_fsca_int2sf): Declare.
* config/sh/sh.md: Adjust.
* doc/invoke.texi (SH Options): Document new options.
* config/sh/lib1funcs.asm (ic_invalidate): Remove SH4a forward
compatibility from SH4 code.
2003-06-27 Alexandre Oliva <aoliva@redhat.com>
* config/sh/sh.c (expand_block_move): Don't emit POST_INC too
early.
(memory_movsrc_operand): Renamed to...
(unaligned_load_operand): ... this. Simplified.
* config/sh/sh.h (PREDICATE_CODES): Adjust.
* config/sh/sh.md (movua, extv, extzv): Likewise. Change movua's
input operand to SImode, and adjust the others. Introduce
post-increment by peephole.
* config/sh/sh.c (expand_block_move): Give the target address the
same mode as the temp reg.
* config/sh/sh.c (expand_block_move): Use a temp reg for unaligned
copying.
2003-06-26 Alexandre Oliva <aoliva@redhat.com>
Introduce support for SH4a.
* config/sh/lib1funcs.asm (ic_invalidate): Use icbi if
__SH4A__. Emit 4 4kb blocks and touch all of them otherwise.
* config/sh/sh.c (sh_fsca_sf2int, sh_fsca_df2int,
sh_fsca_int2sf): New.
(sh_init_builtins): Initialize them.
(print_operand): Support `d'.
(expand_block_move): Use movua if src is misaligned.
(memory_movsrc_operand): New.
* config/sh/sh.h (TARGET_CPU_CPP_BUILTINS): Define __SH4A__
and one of the SH4 macros.
(SH4A_BIT, TARGET_SH4A_ARCH, TARGET_SH4A_FP,
SELECT_SH4A_NOFPU, SELECT_SH4A_SINGLE_ONLY, SELECT_SH4A,
SELECT_SH4A_SINGLE): New.
(TARGET_NONE): Add SH4A_BIT.
(TARGET_SWITCHES): Add 4a-single-only, 4a-single, 4a-nofpu and 4a.
(SH_ASM_SPEC): Pass -dsp if -m4a-nofpu.
(sh_fsca_sf2int, sh_fsca_df2int, sh_fsca_int2sf): Declare.
(OVERRIDE_OPTIONS): Set cpu to CPU_SH4A when appropriate.
(enum processor_type): Added PROCESSOR_SH4A.
(PREDICATE_CODES): Add memory_movsrc_operand.
* config/sh/sh.md: Removed unused variables.
(attr cpu): Add sh4a.
(attr type): Add movua, fsrra and fsca.
(prefetch): New, for SH4.
(ic_invalidate_line, ic_invalidate_line_sh4a): Use icbi.
(toggle_sz): Set type to fp.
(toggle_pr, rsqrtsf2, fsca, sinsf2, cossf2, sindf2, cosdf2): New.
(movua, extv, extzv): New.
* config/sh/t-sh: Add multilibs for 4a, 4a-nofpu, 4a-single
and 4a-single-only.
gcc/testsuite/ChangeLog:
2003-07-06 Alexandre Oliva <aoliva@redhat.com>
* gcc.dg/sh4a-memmovua.c: Tweak regular expression.
2003-07-01 Alexandre Oliva <aoliva@redhat.com>
* gcc.dg/sh4a-bitmovua.c: New.
* gcc.dg/sh4a-cos.c: New.
* gcc.dg/sh4a-cosf.c: New.
* gcc.dg/sh4a-fprun.c: New.
* gcc.dg/sh4a-fsrra.c: New.
* gcc.dg/sh4a-memmovua.c: New.
* gcc.dg/sh4a-sin.c: New.
* gcc.dg/sh4a-sincos.c: New.
* gcc.dg/sh4a-sincosf.c: New.
* gcc.dg/sh4a-sinf.c: New.
libstdc++-v3/ChangeLog:
2003-10-01 Eric Christopher <echristo@redhat.com>
* config/cpu/sh/atomicity.h (__exchange_and_add): Remove 'm'
constraint.
2003-07-09 Alexandre Oliva <aoliva@redhat.com>
* config/cpu/sh/atomicity.h: New. Use movli and movco on SH4a.
From-SVN: r85257
2004-07-28 09:13:58 +00:00
GCC Administrator
66aeab7d97
Daily bump.
...
From-SVN: r85240
2004-07-28 00:16:17 +00:00
GCC Administrator
764c35da02
Daily bump.
...
From-SVN: r85212
2004-07-27 00:16:20 +00:00
GCC Administrator
7d07a70e45
Daily bump.
...
From-SVN: r85172
2004-07-26 00:16:19 +00:00
GCC Administrator
264c4bdccb
Daily bump.
...
From-SVN: r85131
2004-07-25 00:16:15 +00:00
GCC Administrator
368bf4a184
Daily bump.
...
From-SVN: r85106
2004-07-24 00:16:13 +00:00
Benjamin Kosnik
1f34d12191
re PR libstdc++/16678 (warning: suggest parentheses around assignment used as truth value)
...
2004-07-23 Benjamin Kosnik <bkoz@redhat.com>
PR libstdc++/16678
* include/bits/locale_facets.tcc: Fix for -Werror.
From-SVN: r85103
2004-07-24 00:10:09 +00:00
Jonathan Wakely
c29cac0b6b
debug.html: Say debug mode only available since 3.4.0.
...
2004-07-23 Jonathan Wakely <redi@gcc.gnu.org>
* docs/html/debug.html: Say debug mode only available since 3.4.0.
From-SVN: r85074
2004-07-23 09:22:20 +01:00
GCC Administrator
ef453534c4
Daily bump.
...
From-SVN: r85067
2004-07-23 00:16:13 +00:00
GCC Administrator
7761cda3b4
Daily bump.
...
From-SVN: r85027
2004-07-22 00:16:15 +00:00
Benjamin Kosnik
d917fa8798
mainpage.html: Clarify links.
...
2004-07-21 Benjamin Kosnik <bkoz@redhat.com>
* docs/doxygen/mainpage.html: Clarify links.
* docs/doxygen/stdheader.cc: Add files.
* docs/doxygen/style.css: Remove bolds, add h2, h3 styles.
* docs/doxygen/user.cfg.in: New options, wrap.
From-SVN: r85015
2004-07-21 18:54:52 +00:00
GCC Administrator
655ba9c71d
Daily bump.
...
From-SVN: r84987
2004-07-21 00:16:12 +00:00
Danny Smith
5794581363
* include/c_std/std_cwchar.h (wcsstr): Correct signature.
...
From-SVN: r84945
2004-07-20 08:47:42 +00:00
GCC Administrator
a57c6d6b63
Daily bump.
...
From-SVN: r84939
2004-07-20 00:16:14 +00:00
Benjamin Kosnik
e5ab07bb82
re PR libstdc++/15488 (possibly insufficient file permissions for executing test suite)
...
2004-07-19 Benjamin Kosnik <bkoz@redhat.com>
PR libstdc++/15488
* testsuite/lib/libstdc++.exp (v3-copy-files): Revert.
From-SVN: r84935
2004-07-19 23:11:03 +00:00
GCC Administrator
11d6a97449
Daily bump.
...
From-SVN: r84906
2004-07-19 00:16:15 +00:00
GCC Administrator
b52cf5a743
Daily bump.
...
From-SVN: r84884
2004-07-18 00:16:11 +00:00
Richard Sandiford
46d4fde7e2
re PR bootstrap/16469 (bootstrap fails in libstdc++-v3/testsuite)
...
PR bootstrap/16469
* scripts/create_testsuite_files: Pass -print to find.
From-SVN: r84875
2004-07-17 18:12:42 +00:00
GCC Administrator
cd0408d8ff
Daily bump.
...
From-SVN: r84847
2004-07-17 00:16:21 +00:00
GCC Administrator
1373fd361f
Daily bump.
...
From-SVN: r84788
2004-07-16 00:16:13 +00:00
Paolo Carlini
fdb510e7d6
lwg-active.html, [...]: Import Revision 30.
...
2004-07-15 Paolo Carlini <pcarlini@suse.de>
* docs/html/ext/lwg-active.html, lwg-defects.html: Import Revision 30.
* docs/html/ext/howto.html: Tweak entries for DRs 167/253/389/402.
From-SVN: r84765
2004-07-15 18:04:07 +00:00
Jakub Jelinek
d5325238eb
re PR libstdc++/14697 (libstdc++ couldn't find 32bit libgcc_s)
...
PR libstdc++/14697
* acinclude.m4 (glibcxx_shared_libgcc): Correct
glibcxx_shared_libgcc test for multilibs.
* configure: Rebuilt.
From-SVN: r84762
2004-07-15 19:38:42 +02:00
GCC Administrator
27f3c2ce8d
Daily bump.
...
From-SVN: r84725
2004-07-15 00:16:17 +00:00
Paolo Carlini
368b7a304e
re PR libstdc++/16505 ([3.4 only] std::uninitialized_fill_n() incorrect signature)
...
2004-07-14 Paolo Carlini <pcarlini@suse.de>
PR libstdc++/16505
* include/bits/stl_uninitialized.h (uninitialized_fill_n): Fix
the signature to return void, as per 20.4.4.3.
* include/bits/stl_vector.h (vector::vector(size_type,
const value_type&, const allocator_type&), vector::vector(size_type),
vector::_M_initialize_dispatch): Adjust callers.
* include/bits/vector.tcc (vector<>::_M_fill_assign,
vector<>::_M_fill_insert): Likewise.
* testsuite/20_util/memory/16505.cc: New.
From-SVN: r84720
2004-07-14 23:57:34 +00:00
Paolo Carlini
8063a3559d
12658_thread-1.cc, [...]: Use __gnu_test::try_named_locale.
...
2004-07-14 Paolo Carlini <pcarlini@suse.de>
* testsuite/22_locale/locale/cons/12658_thread-1.cc, 12658_thread-2.cc:
Use __gnu_test::try_named_locale.
From-SVN: r84687
2004-07-14 14:01:45 +00:00
Benjamin Kosnik
780028b6cf
mt_allocator.html: Add docs for _Tune.
...
2004-07-13 Benjamin Kosnik <bkoz@redhat.com>
* docs/html/ext/mt_allocator.html: Add docs for _Tune.
* include/ext/mt_allocator.h (__mt_alloc::_S_get_options): Make public.
(__mt_alloc::_S_set_options): Same.
Add to comments.
2004-07-13 Benjamin Kosnik <bkoz@redhat.com>
* acinclude.m4 (GLIBCXX_ENABLE_ALLOCATOR): Add allocator defaults
for linux.
* configure: Regenerated.
From-SVN: r84674
2004-07-14 06:37:17 +00:00
GCC Administrator
bd09f5b8f1
Daily bump.
...
From-SVN: r84660
2004-07-14 00:16:12 +00:00
Paolo Carlini
9a2ba7af2c
12658_thread.cc: Move/rename to 12658_thread-1.cc and xfail.
...
2004-07-13 Paolo Carlini <pcarlini@suse.de>
* testsuite/22_locale/locale/cons/12658_thread.cc: Move/rename
to 12658_thread-1.cc and xfail.
* testsuite/22_locale/locale/cons/12658_thread-2.c: New, much
simpler version of 12658_thread-1.cc, still failing on 3_3 and
not failing on 3_4/mainline - both on single processor and
multiprocessor machines.
From-SVN: r84610
2004-07-13 09:08:21 +00:00
GCC Administrator
d39a988094
Daily bump.
...
From-SVN: r84592
2004-07-13 00:16:13 +00:00
Benjamin Kosnik
81f80f5feb
abi.html: Remove non-public qualification.
...
2004-07-12 Benjamin Kosnik <bkoz@redhat.com>
* docs/html/abi.html: Remove non-public qualification.
* include/bits/concurrence.h: Tweak comments.
From-SVN: r84586
2004-07-12 23:40:49 +00:00
GCC Administrator
186af37b4d
Daily bump.
...
From-SVN: r84539
2004-07-12 00:16:13 +00:00
Paolo Carlini
6f4229658a
Add wchar_t counterparts of the basic_streambbuf<char> tests.
...
2004-07-11 Paolo Carlini <pcarlini@suse.de>
Add wchar_t counterparts of the basic_streambbuf<char> tests.
* testsuite/27_io/basic_streambuf/cons/wchar_t/1.cc: New.
* testsuite/27_io/basic_streambuf/imbue/wchar_t/1.cc, 9322.cc:
Likewise.
* testsuite/27_io/basic_streambuf/in_avail/wchar_t/9701-3.cc: Likewise.
* testsuite/27_io/basic_streambuf/overflow/wchar_t/1.cc, 2.cc,
3599.cc: Likewise.
* testsuite/27_io/basic_streambuf/sgetc/wchar_t/1.cc: Likewise.
* testsuite/27_io/basic_streambuf/sgetn/wchar_t/1.cc: Likewise.
* testsuite/27_io/basic_streambuf/sputbackc/wchar_t/9538.cc: Likewise.
* testsuite/27_io/basic_streambuf/sputc/wchar_t/1057.cc: Likewise.
* testsuite/27_io/basic_streambuf/sputn/wchar_t/1.cc, 1057.cc:
Likewise.
* testsuite/27_io/basic_streambuf/sync/wchar_t/1057.cc: Likewise.
* testsuite/27_io/basic_streambuf/imbue/char/1.cc, 9322.cc: Minor
tweaks.
* testsuite/27_io/basic_streambuf/overflow/char/2.cc, 3599.cc:
Likewise.
* testsuite/27_io/basic_streambuf/sputn/char/1057.cc: Likewise.
* testsuite/27_io/basic_streambuf/sync/char/1057.cc: Likewise.
From-SVN: r84526
2004-07-11 19:13:59 +00:00
Phil Edwards
d8be287168
regenerate with correct tools
...
From-SVN: r84503
2004-07-11 11:28:21 +00:00
Phil Edwards
7d3998a445
acinclude.m4: Cosmetic shell syntax fixes.
...
2004-07-11 Phil Edwards <phil@codesourcery.com>
* acinclude.m4: Cosmetic shell syntax fixes.
* configure.ac: Bring comment inline with reality.
* configure.host: Both of the above. Move 'arm' case to right
place in host_cpu switch.
* aclocal.m4, configure: Regenerate.
From-SVN: r84497
2004-07-11 07:46:21 +00:00
GCC Administrator
b2877863e1
Daily bump.
...
From-SVN: r84483
2004-07-11 00:16:12 +00:00
GCC Administrator
4c6a63ccbc
Daily bump.
...
From-SVN: r84425
2004-07-10 00:16:13 +00:00
Paolo Carlini
1bf4ab23be
Add wchar_t counterparts of the basic_stringbuf<char> tests.
...
2004-07-09 Paolo Carlini <pcarlini@suse.de>
Add wchar_t counterparts of the basic_stringbuf<char> tests.
* testsuite/27_io/basic_stringbuf/imbue/wchar_t/1.cc, 9322.cc: New.
* testsuite/27_io/basic_stringbuf/in_avail/wchar_t/1.cc: Likewise.
* testsuite/27_io/basic_stringbuf/overflow/wchar_t/1.cc, 2.cc,
3599.cc, 9988.cc: Likewise.
* testsuite/27_io/basic_stringbuf/sbumpc/wchar_t/1.cc, 9825.cc:
Likewise.
* testsuite/27_io/basic_stringbuf/seekoff/wchar_t/1.cc, 2.cc:
Likewise.
* testsuite/27_io/basic_stringbuf/seekoff/wchar_t/1.cc, 2.cc, 3.cc:
Likewise.
* testsuite/27_io/basic_stringbuf/setbuf/wchar_t/1.cc, 2.cc, 3.cc:
Likewise.
* testsuite/27_io/basic_stringbuf/sgetc/wchar_t/1.cc: Likewise.
* testsuite/27_io/basic_stringbuf/sgetn/wchar_t/1.cc: Likewise.
* testsuite/27_io/basic_stringbuf/snextc/wchar_t/1.cc: Likewise.
* testsuite/27_io/basic_stringbuf/sputbackc/wchar_t/1.cc, 9425.cc:
Likewise.
* testsuite/27_io/basic_stringbuf/sputc/wchar_t/1.cc, 1057.cc,
9404-1.cc: Likewise.
* testsuite/27_io/basic_stringbuf/sputn/wchar_t/1.cc, 1057.cc,
9404-2.cc: Likewise.
* testsuite/27_io/basic_stringbuf/str/wchar_t/1.cc, 2.cc, 3.cc,
3955.cc: Likewise.
* testsuite/27_io/basic_stringbuf/sungetc/wchar_t/1.cc: Likewise.
* testsuite/27_io/basic_stringbuf/sync/wchar_t/1057.cc: Likewise.
From-SVN: r84405
2004-07-09 22:00:59 +00:00
GCC Administrator
3bc0b10f9d
Daily bump.
...
From-SVN: r84333
2004-07-09 00:16:13 +00:00
Paolo Carlini
b714a4192e
gslice.h: Trivial formatting fixes.
...
2004-07-08 Paolo Carlini <pcarlini@suse.de>
* include/bits/gslice.h: Trivial formatting fixes.
* include/bits/gslice_array.h: Likewise.
* include/bits/indirect_array.h: Likewise.
* include/bits/mask_array.h: Likewise.
* include/bits/slice_array.h: Likewise.
* include/bits/valarray_after.h: Likewise.
* include/bits/valarray_array.h: Likewise.
* include/bits/valarray_before.h: Likewise.
* include/std/std_valarray.h: Likewise.
From-SVN: r84312
2004-07-08 20:48:04 +00:00
Benjamin Kosnik
75f29cdded
re PR c++/16169 (-Weffc++ item 15 improvements)
...
2004-07-08 Benjamin Kosnik <bkoz@redhat.com>
PR c++/16169
* include/bits/basic_string.h (basic_string::operator=): Revert.
From-SVN: r84296
2004-07-08 15:56:21 +00:00
Benjamin Kosnik
9e80211469
[multiple changes]
...
2004-07-07 Benjamin Kosnik <bkoz@redhat.com>
* configure.ac (libtool_VERSION): To 6:2:0.
* configure: Regenerated.
* testsuite/testsuite_abi.cc (check_version): Add 3.4.2.
2004-07-07 Aaron W. LaFramboise <aaronraolete36@aaronwl.com>
PR libstdc++/16411
* config/linker-map.gnu: Add stdio_sync_filebuf::file exports.
From-SVN: r84264
2004-07-08 05:24:33 +00:00
GCC Administrator
d1ae24b3f5
Daily bump.
...
From-SVN: r84248
2004-07-08 00:16:15 +00:00
Benjamin Kosnik
f83295c890
abi.html: Updates for 3.4.1 release.
...
2004-07-07 Benjamin Kosnik <bkoz@redhat.com>
* docs/html/abi.html: Updates for 3.4.1 release. Add summary of
-Weffc++ issues.
From-SVN: r84240
2004-07-07 22:34:01 +00:00
Paolo Carlini
9f9000d177
re PR libstdc++/16401 (ostringstream in gcc 3.4.x very slow for big data)
...
2004-07-07 Paolo Carlini <pcarlini@suse.de>
PR libstdc++/16401
* include/bits/sstream.tcc (overflow): When reallocating _M_string
use an exponential grow policy.
* testsuite/27_io/basic_stringbuf/overflow/char/1.cc: New.
* testsuite/performance/27_io/stringbuf_overflow.cc: New.
From-SVN: r84235
2004-07-07 21:48:01 +00:00
Anssi Hannula
185fca74fc
re PR libstdc++/15928 (libstdc++ in 3.4.x 3.5 doesn't cross-compile for djgpp)
...
2004-07-06 Anssi Hannula <anssi.hannula@mbnet.fi>
PR libstdc++/15928
* crossconfig.m4: Add in bits for djgpp.
* configure: Regenerate.
From-SVN: r84185
2004-07-07 01:07:05 +00:00
GCC Administrator
314fbb7be7
Daily bump.
...
[[Split portion of a mixed commit.]]
From-SVN: r84183.2
2004-07-07 00:16:18 +00:00
GCC Administrator
aac1d259ac
Daily bump.
...
From-SVN: r84142
2004-07-06 00:16:10 +00:00
Jonathan Wakely
879dc459de
14340.cc: Fix typos in instantiation of set and multiset (functor param given as int).
...
2004-07-05 Jonathan Wakely <redi@gcc.gnu.org>
* testsuite/23_containers/{set,multiset}/14340.cc: Fix typos in
instantiation of set and multiset (functor param given as int).
From-SVN: r84112
2004-07-05 11:59:42 +01:00
GCC Administrator
91a8b4596b
Daily bump.
...
From-SVN: r84102
2004-07-05 00:16:11 +00:00
Paolo Carlini
43da93a728
basic_string.h: Trivial formatting fixes and/or const-ification of some variables.
...
2004-07-04 Paolo Carlini <pcarlini@suse.de>
* include/bits/basic_string.h: Trivial formatting fixes and/or
const-ification of some variables.
* include/bits/deque.tcc: Likewise.
* include/bits/stl_algobase.h: Likewise.
* include/bits/stl_bvector.h: Likewise.
* include/bits/stl_construct.h: Likewise.
* include/bits/stl_deque.h: Likewise.
* include/bits/stl_pair.h: Likewise.
* include/bits/stl_vector.h: Likewise.
* include/bits/vector.tcc: Likewise.
From-SVN: r84090
2004-07-04 17:57:58 +00:00
Paolo Carlini
f1ee6eca25
1.cc: Add instantiations for systems with no COMDAT or weak support.
...
2004-07-04 Paolo Carlini <pcarlini@suse.de>
* testsuite/25_algorithms/copy/1.cc: Add instantiations for
systems with no COMDAT or weak support.
* testsuite/25_algorithms/copy/2.cc: Likewise.
* testsuite/25_algorithms/copy/3.cc: Likewise.
* testsuite/25_algorithms/copy/4.cc: Likewise.
From-SVN: r84076
2004-07-04 11:05:14 +00:00
GCC Administrator
61b35a3e46
Daily bump.
...
[[Split portion of a mixed commit.]]
From-SVN: r84066.2
2004-07-04 00:16:13 +00:00
GCC Administrator
96683b8ffd
Daily bump.
...
[[Split portion of a mixed commit.]]
From-SVN: r84039.2
2004-07-03 00:16:14 +00:00
Paul Brook
a7e4cdca85
cxxabi_tweaks.h: New file.
...
* config/cpu/arm/cxxabi_tweaks.h: New file.
* config/cpu/generic/cxxabi_tweaks.h: New file.
From-SVN: r84035
2004-07-02 23:58:41 +00:00
Paul Brook
1568430fae
configure.ac: Set ABI_TWEAKS_SRCDIR.
...
* configure.ac: Set ABI_TWEAKS_SRCDIR.
* configure.host: Set abi_tweaks_dir. Check for atomicity.h when
setting atomicity_dir. Override type_cpu for arm based targets.
* include/Makefile.am (host_headers): Add cxxabi_tweaks.h.
* libsupc++/cxxabi.h: Include bits/cxxabi.h. Don't declare __guard.
* libsupc++/guard.cc: Use definitions from cxxabi_tweaks.h.
* libsupc++/vec.cc: Ditto.
* config/cpu/arm/cxxabi_tweaks.h: New file.
* config/cpu/generic/cxxabi_tweaks.h: New file.
* */Makefile.in: Regenerate.
* configure: Regenerate.
From-SVN: r84032
2004-07-02 23:40:19 +00:00
Paolo Carlini
bdef965932
testsuite/20_util/allocator/, auto_ptr/, raw_storage_iterator.cc, temporary_buffer.cc: Move to...
...
2004-07-02 Paolo Carlini <pcarlini@suse.de>
* testsuite/20_util/allocator/, auto_ptr/, raw_storage_iterator.cc,
temporary_buffer.cc: Move to...
* testsuite/20_util/memory/: ... here, new dir.
* testsuite/20_util/pair/, testsuite/24_iterators/rel_ops.cc:
Move to...
* testsuite/20_util/utility/: ... here, new dir.
* testsuite/20_util/binders.cc, comparisons.cc: Move to...
* testsuite/20_util/functional/: ... here, new dir.
From-SVN: r84028
2004-07-02 20:44:08 +00:00
Paolo Carlini
5e91e92ede
type_traits.h (_Is_normal_iterator): Move...
...
2004-07-02 Paolo Carlini <pcarlini@suse.de>
* include/bits/type_traits.h (_Is_normal_iterator): Move...
* include/bits/cpp_type_traits.h: ... here, renamed to
__is_normal_iterator and consistent with the other traits.
* include/bits/stl_algobase.h (__copy_ni1, __copy_ni2): Convert
to the struct __copy_normal and three specializations.
(__copy_backward_output_normal_iterator,
__copy_backward_input_normal_iterator): Likewise, convert to
the struct __copy_backward_normal and three specializations.
(copy, copy_backward): Use the latter.
(__copy_aux, __copy_backward_aux): Very minor tweaks.
From-SVN: r84019
2004-07-02 14:49:09 +00:00
GCC Administrator
f16ee2a09a
Daily bump.
...
From-SVN: r84006
2004-07-02 00:16:12 +00:00
Paolo Carlini
695e0fbfe0
stl_algobase.h (__copy_trivial): Remove.
...
2004-07-01 Paolo Carlini <pcarlini@suse.de>
* include/bits/stl_algobase.h (__copy_trivial): Remove.
(__copy_aux2): Rewrite as __copy_aux to use __is_pointer,
__is_trivially_copyable, __are_same and __copy::copy.
(__copy): Rewrite as a class template and two specializations.
(__copy_ni2): Simplify, just call __copy_aux.
* include/bits/stl_algobase.h (__copy_backward_aux): Add __are_same
check.
* testsuite/25_algorithms/copy/1.cc, 2.cc, 3.cc, 4.cc: Test also
for destination value type != source value type.
From-SVN: r83991
2004-07-01 17:53:21 +00:00
Benjamin Kosnik
7f1ee5690d
re PR libstdc++/16248 (recent concurrence.h chanes breaks mingw bootstrap)
...
2004-07-01 Benjamin Kosnik <bkoz@redhat.com>
Per Bothner <per@bothner.com>
Mohan Embar <gnustuff@thisiscool.com>
PR libstdc++/16248
* include/bits/concurrence.h (__glibcxx_mutex_type): New.
(__glibcxx_mutex): Encapsulate mutex init function into type for
threaded configurations without __GTHREAD_MUTEX_INIT.
(lock::lock): Make device member a reference.
(lock::~lock): Same.
* include/ext/pool_allocator.h (__pool_base::_M_get_mutex): Change
to mutex_type.
* src/allocator.cc: Same.
From-SVN: r83988
2004-07-01 15:30:36 +00:00
Benjamin Kosnik
f65d320115
Per Bothner <per@bothner.com > Mohan Embar <gnustuff@thisiscool.com>
...
2004-07-01 Benjamin Kosnik <bkoz@redhat.com>
Per Bothner <per@bothner.com >
Mohan Embar <gnustuff@thisiscool.com>
PR libstdc++/16248
* include/bits/concurrence.h (__glibcxx_mutex_type): New.
(__glibcxx_mutex): Encapsulate mutex init function into type for
threaded configurations without __GTHREAD_MUTEX_INIT.
(lock::lock): Make device member a reference.
(lock::~lock): Same.
* include/ext/pool_allocator.h (__pool_base::_M_get_mutex): Change
to mutex_type.
* src/allocator.cc: Same.
Co-Authored-By: Mohan Embar <gnustuff@thisiscool.com>
Co-Authored-By: Per Bothner <per@bothner.com>
From-SVN: r83985
2004-07-01 14:49:29 +00:00
Brad Spencer
1190bcd85d
mt_allocator.h: Handle allocations at static initialization that happen before _S_options is...
...
2004-06-30 Brad Spencer <spencer@infointeractive.com>
* include/ext/mt_allocator.h: Handle allocations at static
initialization that happen before _S_options is (automatically)
constructed; set _S_init even if _M_force_new is true.
From-SVN: r83949
2004-07-01 02:21:51 +00:00
GCC Administrator
1730c8f5a7
Daily bump.
...
From-SVN: r83944
2004-07-01 00:16:14 +00:00
Benjamin Kosnik
bd535dc55c
linker-map.gnu: Revert.
...
2004-06-30 Benjamin Kosnik <bkoz@redhat.com>
* config/linker-map.gnu: Revert.
From-SVN: r83913
2004-06-30 16:38:42 +00:00
Benjamin Kosnik
9abf398dd9
linker-map.gnu: Add destructor exports for abstract base classes to conform to LSB.
...
2004-06-30 Benjamin Kosnik <bkoz@redhat.com>
Stuart Anderson <anderson@netsweng.com>
* config/linker-map.gnu: Add destructor exports for abstract base
classes to conform to LSB.
Co-Authored-By: Stuart Anderson <anderson@netsweng.com>
From-SVN: r83910
2004-06-30 16:19:45 +00:00
Paolo Carlini
badd64ad92
[multiple changes]
...
2004-06-30 Gabriel Dos Reis <gdr@integrable-solutions.net>
Paolo Carlini <pcarlini@suse.de>
* include/bits/cpp_type_traits.h: Add __is_pointer and
__is_trivially_copyable.
* include/bits/stl_algobase.h (fill, fill_n): Slightly
tweak to use the latter.
(__copy_backward_dispatch): Remove.
(__copy_backward_aux): Rewrite to use __is_pointer and
__is_trivially_copyable and __copy_backward::copy_b.
(__copy_backward): Rewrite as a class template and two
specializations.
2004-06-30 Paolo Carlini <pcarlini@suse.de>
* testsuite/25_algorithms/copy.cc: Move to...
* testsuite/25_algorithms/copy/1.cc: ... here, extend.
* testsuite/25_algorithms/copy/2.cc: New.
* testsuite/25_algorithms/copy/3.cc: New.
* testsuite/25_algorithms/copy/4.cc: New.
From-SVN: r83897
2004-06-30 09:20:18 +00:00
GCC Administrator
9d75385f5c
Daily bump.
...
From-SVN: r83886
2004-06-30 00:16:13 +00:00
Paul Brook
46e995e0e4
target-def.h (TARGET_CXX_GET_COOKIE_SIZE, [...]): Define.
...
gcc/
* target-def.h (TARGET_CXX_GET_COOKIE_SIZE,
TARGET_CXX_COOKIE_HAS_SIZE): Define.
(TARGET_CXX): Use them.
* target.h (struct gcc_target): Add cxx.get_cookie_size and
cxx.cookie_has_size.
* targhooks.c (default_cxx_get_cookie_size): New fucntion.
* targhooks.h (default_cxx_get_cookie_size): Add prototype.
* config/arm/arm.c (TARGET_CXX_GET_COOKIE_SIZE,
TARGET_CXX_COOKIE_HAS_SIZE): Define.
(arm_get_cookie_size, arm_cookie_has_size): New functions.
* Make-lang.in (cp/init.o): Add dependency on $(TARGET_H).
* doc/tm.texi: Document TARGET_CXX_GET_COOKIE_SIZE and
TARGET_CXX_COOKIE_HAS_SIZE.
gcc/cp/
* init.c: Include target.h.
(get_cookie_size): Remove and replace with target hook.
Update callers.
(build_new_1): Store the element size in the cookie.
libstdc++-v3/
* libsupc++/vec.cc (__cxa_vec_new2, __cxa_vec_new3): Store the
element size in the cookie.
testsuite/
* g++.old-deja/g++.abi/arraynew.C: Handle ARM EABI cookies.
* g++.old-deja/g++.abi/cxa_vec.C: Allocate larger cookies for AEABI.
From-SVN: r83854
2004-06-29 14:50:35 +00:00
GCC Administrator
b1fe2e047c
Daily bump.
...
From-SVN: r83834
2004-06-29 00:16:15 +00:00
Paolo Carlini
ff89096a6e
cpp_type_traits.h: Move the additions to namespace __gnu_internal outside of namespace std...
...
2004-06-28 Paolo Carlini <pcarlini@suse.de>
* include/bits/cpp_type_traits.h: Move the additions to
namespace __gnu_internal outside of namespace std; trivial
formatting fixes.
From-SVN: r83806
2004-06-28 19:04:03 +00:00
Benjamin Kosnik
4723805a61
safe_base.h (__gnu_debug::_Safe_sequence_base): Revert -Weffc++ changes that defined copy ctory and or assignment operator.
...
2004-06-28 Benjamin Kosnik <bkoz@redhat.com>
* include/debug/safe_base.h (__gnu_debug::_Safe_sequence_base):
Revert -Weffc++ changes that defined copy ctory and or assignment
operator.
* libsupc++/tinfo.cc (__upcast_result): Same.
From-SVN: r83804
2004-06-28 18:31:18 +00:00
Paolo Carlini
2d91a076cc
localename.cc (locale::_Impl::_Impl): Slightly improve the algorithm used to name the categories.
...
2004-06-28 Paolo Carlini <pcarlini@suse.de>
* src/localename.cc (locale::_Impl::_Impl): Slightly improve
the algorithm used to name the categories.
From-SVN: r83778
2004-06-28 11:18:03 +00:00
Paolo Bonzini
e4cb0c0441
Makefile.am: Give a .gch extension to the PCH files, not only to the directory.
...
2004-06-28 Paolo Bonzini <bonzini@gnu.org>
* include/Makefile.am: Give a .gch extension to
the PCH files, not only to the directory.
* include/Makefile.in: Regenerate.
From-SVN: r83777
2004-06-28 11:14:44 +00:00
Paolo Carlini
61c53cd36b
2004-06-28 Paolo Carlini <pcarlini@suse.de>
...
* config/locale/gnu/monetary_members.cc
(moneypunct<wchar_t>::_M_initialize_moneypunct): Clean up
assignments of _M_decimal_point and _M_thousands_sep.
From-SVN: r83767
2004-06-28 09:27:18 +00:00
GCC Administrator
e6d6c95a52
Daily bump.
...
[[Split portion of a mixed commit.]]
From-SVN: r83755.2
2004-06-28 00:16:15 +00:00
Paolo Carlini
b80ec51514
contribute.html: Update some links.
...
2004-06-27 Paolo Carlini <pcarlini@suse.de>
* docs/html/17_intro/contribute.html: Update some links.
* docs/html/17_intro/porting-howto.html: Likewise.
* docs/html/17_intro/porting-howto.xml: Likewise.
* docs/html/18_support/howto.html: Likewise.
* docs/html/21_strings/howto.html: Likewise.
* docs/html/27_io/howto.html: Likewise.
* docs/html/configopts.html: Likewise.
* docs/html/ext/howto.html: Likewise.
* docs/html/faq/index.html: Likewise.
* docs/html/install.html: Don't mention 2.x compilers.
From-SVN: r83745
2004-06-27 20:48:48 +00:00
Paolo Carlini
a6048f2903
rope: Trivial formatting fixes.
...
2004-06-27 Paolo Carlini <pcarlini@suse.de>
* include/ext/rope: Trivial formatting fixes.
* include/ext/ropeimpl.h: Likewise.
From-SVN: r83737
2004-06-27 17:51:08 +00:00
GCC Administrator
b9c042e86f
Daily bump.
...
From-SVN: r83726
2004-06-27 00:16:15 +00:00
Paolo Carlini
1ab3a0ade6
re PR libstdc++/16210 ([3.4 only] gratuitously omits "long long" I/O)
...
2004-06-26 Paolo Carlini <pcarlini@suse.de>
PR libstdc++/16210
* acinclude.m4 (GLIBCXX_ENABLE_LONG_LONG): Do not check for the
availability of strto(u)ll, not used anymore in the iostreams.
* configure: Regenerate.
From-SVN: r83705
2004-06-26 08:42:38 +00:00
GCC Administrator
0e60562abe
Daily bump.
...
[[Split portion of a mixed commit.]]
From-SVN: r83695.2
2004-06-26 00:17:34 +00:00
Benjamin Kosnik
795af1d735
re PR libstdc++/16182 (wctype.h not included by c++locale_internal.h)
...
2004-06-25 Benjamin Kosnik <bkoz@redhat.com>
PR libstdc++/16182
* linkage.m4 (GLIBCXX_CHECK_BUILTIN_MATH_DEC): Revert to
AC_DEFINE_UNQUOTED.
* configure: Regenerate.
From-SVN: r83664
2004-06-25 17:45:42 +00:00
Paul Brook
4185ae5397
target-def.h (TARGET_CXX_GUARD_TYPE, [...]): Define.
...
gcc/
* target-def.h (TARGET_CXX_GUARD_TYPE, TARGET_CXX_GUARD_MASK_BIT,
TARGET_CXX): Define.
(TARGET_INITIALIZER): Use TARGET_CXX.
* target.h (struct gcc_target): Add struct cxx.
* targhooks.h (default_cxx_guard_type): Add prototype.
* targhooks.c (default_cxx_guard_type): New function.
* config/arm/arm.c (TARGET_CXX_GUARD_TYPE, TARGET_CXX_GUARD_MASK_BIT):
Define.
(arm_cxx_guard_type, arm_cxx_guard_mask_bit): New functions.
* doc/tm.texi: Document TARGET_CXX_GUARD_TYPE and
TARGET_CXX_GUARD_MASK_BIT.
gcc/cp/
* decl2.c (get_guard): Call targetm.cxx.guard_type.
(get_guard_bits, get_guard_cond): Call targetm.cxx.guard_mask_bit.
libstdc++/
* libsupc++/cxxabi.h: Define __ARM_EABI__
(__guard): Use it.
* libsupc++/guard.h (__cxa_guard_acquire, __cxa_guard_release): Ditto.
From-SVN: r83660
2004-06-25 17:15:46 +00:00
Paul Brook
29357d8b94
concurrence.h: Still create mutex object when single-threaded.
...
* include/bits/concurrence.h: Still create mutex object when
single-threaded.
From-SVN: r83657
2004-06-25 16:36:13 +00:00
Paolo Carlini
07e938fc86
stl_algobase.h (fill, fill_n): Revert last change...
...
2004-06-25 Paolo Carlini <pcarlini@suse.de>
* include/bits/stl_algobase.h (fill, fill_n): Revert last
change: actually we need to copy construct an object of type
_Tp, not of type iterator_traits<>::value_type, therefore the
code is ok.
From-SVN: r83652
2004-06-25 14:17:58 +00:00
Paolo Carlini
1a277d94fe
stl_algobase.h (fill, fill_n): Tighten the dispatch: use iterator_traits<>::value_type, not _Tp.
...
2004-06-25 Paolo Carlini <pcarlini@suse.de>
* include/bits/stl_algobase.h (fill, fill_n): Tighten the
dispatch: use iterator_traits<>::value_type, not _Tp.
From-SVN: r83648
2004-06-25 10:51:45 +00:00
Paolo Carlini
576df3214c
1.cc: Tweak instantiations.
...
2004-06-25 Paolo Carlini <pcarlini@suse.de>
* testsuite/25_algorithms/fill/1.cc: Tweak instantiations.
* testsuite/25_algorithms/fill/2.cc: Likewise.
From-SVN: r83646
2004-06-25 09:37:21 +00:00
Paolo Carlini
6e539e2396
[multiple changes]
...
2004-06-25 Dan Nicolaescu <dann@ics.uci.edu>
Paolo Carlini <pcarlini@suse.de>
* include/bits/stl_algobase.h (__fill, __fill_n): New helpers
for fill and fill_n, respectively: when copying is cheap, use a
temporary to avoid a memory read in each iteration.
2004-06-25 Paolo Carlini <pcarlini@suse.de>
* testsuite/25_algorithms/fill/1.cc: New.
* testsuite/25_algorithms/fill/2.cc: Likewise.
From-SVN: r83645
2004-06-25 09:25:57 +00:00
Benjamin Kosnik
c19d6c9f9f
formatter.h (__gnu_debug::_Error_formatter): Remove copy constructor and assignment operator.
...
2004-06-25 Benjamin Kosnik <bkoz@redhat.com>
* include/debug/formatter.h (__gnu_debug::_Error_formatter):
Remove copy constructor and assignment operator.
From-SVN: r83641
2004-06-25 07:01:42 +00:00
Benjamin Kosnik
838d430929
concurrence.h (__gnu_cxx::lock): New.
...
2004-06-24 Benjamin Kosnik <bkoz@redhat.com>
* include/bits/concurrence.h (__gnu_cxx::lock): New.
* include/ext/pool_allocator.h (__pool_base::_Lock::_S_lock): Remove.
(__pool_base::_M_get_mutex): New.
* include/bits/allocator.h: Tweak.
* src/allocator.cc (__pool_base::_M_get_free_list): Correct offset.
* config/linker-map.gnu: Remove __pool_base::_Lock::_S_lock.
* include/bits/stl_threads.h: Remove.
* include/Makefile.am: Also here.
* include/Makefile.in: Regenerate.
* src/locale_init.cc: Use __gnu_cxx::lock.
* src/allocator.cc: Move all instantiations...
* src/allocator-inst.cc: ...here.
From-SVN: r83638
2004-06-25 06:10:44 +00:00
GCC Administrator
3953b22e75
Daily bump.
...
[[Split portion of a mixed commit.]]
From-SVN: r83623.2
2004-06-25 00:16:19 +00:00
Andrew Pinski
d42093a1db
darwin7.h (MATH_LIBRARY): Remove.
...
gcc/ChangeLog:
* config/darwin7.h (MATH_LIBRARY): Remove.
(LIB_SPEC): Define.
* config/darwin.h (MATH_LIBRARY): Define always to empty.
(LIB_SPEC): Only define if not already defined.
libstdc++/ChangeLog:
* linkage.m4: Remove check for libmx.
* configure: Regenerate.
libgfortran/ChangeLog:
* configure.ac: Remove check for libmx.
* configure: Regenerate.
From-SVN: r83603
2004-06-24 10:53:07 -07:00
GCC Administrator
44ee9aef7b
Daily bump.
...
[[Split portion of a mixed commit.]]
From-SVN: r83572.2
2004-06-24 00:16:20 +00:00
Paolo Carlini
dcbbf6f31b
re PR libstdc++/16154 (input iterator concept too restrictive)
...
2004-06-23 Paolo Carlini <pcarlini@suse.de>
PR libstdc++/16154
* include/bits/boost_concept_check.h (struct _TrivialIteratorConcept):
Don't require the _DefaultConstructibleConcept.
(struct _ForwardIteratorConcept): Require it here.
From-SVN: r83554
2004-06-23 16:03:52 +00:00
GCC Administrator
2f60699380
Daily bump.
...
[[Split portion of a mixed commit.]]
From-SVN: r83529.2
2004-06-23 00:16:16 +00:00
Alexandre Oliva
fa94878458
istream.tcc (getline): Make sure arguments passed to min/max have the same type.
...
* include/bits/istream.tcc (getline): Make sure arguments passed
to min/max have the same type.
* include/bits/locale_facets.tcc (__verify_grouping): Likewise.
* include/bits/stl_deque.h (_Deque_base::_Deque_base): Likewise.
From-SVN: r83522
2004-06-22 22:22:14 +00:00
Benjamin Kosnik
3b56276ea5
abi.html: Update links.
...
2004-06-22 Benjamin Kosnik <bkoz@redhat.com>
* docs/html/abi.html: Update links.
From-SVN: r83498
2004-06-22 16:01:02 +00:00
Paolo Carlini
482c0c5d0f
complex_inserters_extractors.cc, [...]: Move to...
...
2004-06-22 Paolo Carlini <pcarlini@suse.de>
* testsuite/26_numerics/complex_inserters_extractors.cc,
complex_value.cc, buggy_complex.cc: Move to...
* testsuite/26_numerics/complex/: ... here.
* testsuite/26_numerics/c99_classification_macros_c++.cc,
c99_classification_macros_c.cc, c_math.cc, c_math_dynamic.cc,
fabs_inline.cc: Move to...
* testsuite/26_numerics/cmath/: ... here.
* testsuite/26_numerics/binary_closure.cc, slice.cc,
slice_array_assignment.cc, valarray.cc, valarray_const_bracket.cc,
valarray_name_lookup.cc, valarray_operators.cc,
valarray_subset_assignment.cc: Move to...
* testsuite/26_numerics/valarray/: ... here (new dir).
* testsuite/26_numerics/sum_diff.cc: Move to...
* testsuite/26_numerics/numeric/: ... here (new dir).
From-SVN: r83489
2004-06-22 10:52:14 +00:00
Paolo Carlini
80dddedcaf
std_istream.h (ignore(streamsize __n = 1, int_type __delim = traits_type::eof())): Split into...
...
2004-06-22 Paolo Carlini <pcarlini@suse.de>
* include/std/std_istream.h (ignore(streamsize __n = 1,
int_type __delim = traits_type::eof())): Split into...
(ignore(), ignore(streamsize __n), ignore(streamsize __n,
int_type __delim)): The first two can be much more simpler
and efficient than the fully general case; also, the last
two can take advantage of the same mechanism already used
for getline.
* include/bits/istream.tcc (ignore(streamsize __n = 1,
int_type __delim = traits_type::eof()): Remove.
(ignore(), ignore(streamsize __n), ignore(streamsize __n,
int_type __delim)): New.
From-SVN: r83486
2004-06-22 10:06:39 +00:00
Loren J. Rittle
88c499cce7
linker-map.gnu: Use wildcards for __basic_file::sys_open(FILE*, _Ios_Openmode).
...
* config/linker-map.gnu: Use wildcards for
__basic_file::sys_open(FILE*, _Ios_Openmode).
From-SVN: r83470
2004-06-22 00:24:52 +00:00
GCC Administrator
026a935f41
Daily bump.
...
[[Split portion of a mixed commit.]]
From-SVN: r83467.2
2004-06-22 00:16:47 +00:00
GCC Administrator
6687b0fc2a
Daily bump.
...
[[Split portion of a mixed commit.]]
From-SVN: r83423.2
2004-06-21 00:16:16 +00:00
Paolo Carlini
aa33d72501
3.cc: New.
...
2004-06-20 Paolo Carlini <pcarlini@suse.de>
* testsuite/27_io/basic_istream/ignore/char/3.cc: New.
From-SVN: r83408
2004-06-20 09:42:39 +00:00
GCC Administrator
2ec5cdadd4
Daily bump.
...
[[Split portion of a mixed commit.]]
From-SVN: r83402.2
2004-06-20 00:16:17 +00:00
GCC Administrator
1c37e0b6e8
Daily bump.
...
[[Split portion of a mixed commit.]]
From-SVN: r83377.2
2004-06-19 00:16:19 +00:00
Paolo Carlini
e2aa7005e7
mt_allocator (__mt_alloc<>::_Tune): Add _M_align, the alignment requested.
...
2004-06-18 Paolo Carlini <pcarlini@suse.de>
* include/ext/mt_allocator (__mt_alloc<>::_Tune): Add _M_align,
the alignment requested.
(__mt_alloc<>::_Tune::_Tune): Tweak consistently.
(__mt_alloc<>::allocate): Use it instead of sizeof(_Block_record).
(__mt_alloc<>::deallocate): Likewise.
From-SVN: r83372
2004-06-18 23:27:30 +00:00
Paolo Carlini
ab3d88bed1
re PR libstdc++/16020 (cannot copy __gnu_debug::bitset)
...
2004-06-18 Paolo Carlini <pcarlini@suse.de>
PR libstdc++/16020
* include/debug/safe_base.h
(_Safe_sequence_base::_Safe_sequence_base(const _Safe_sequence_base&),
_Safe_sequence_base::operator=): Provide definitions.
* testsuite/23_containers/bitset/cons/16020.cc: New.
From-SVN: r83357
2004-06-18 17:13:35 +00:00
Benjamin Kosnik
2832d07bd1
pool_allocator.h: Qualify __throw_bad_alloc.
...
2004-06-18 Benjamin Kosnik <bkoz@redhat.com>
* include/ext/pool_allocator.h: Qualify __throw_bad_alloc.
(__pool_base): Remove unused template parameter. Add
protected. Move lock data into __pool_base::_Lock. Remove static
on member functions.
(__pool_base::_M_get_free_list): New.
(__pool_alloc): Move _S_force new here.
* src/allocator.cc: Move out of line __pool_base definitions here.
* config/linker-map.gnu: Export bits from __pool_base.
From-SVN: r83355
2004-06-18 16:52:42 +00:00
Paolo Carlini
a80e0e831f
2004-06-18 Paolo Carlini <pcarlini@suse.de>
...
* config/locale/gnu/numeric_members.cc
(numpunct<wchar_t>::_M_initialize_numpunct): Clean up
assignments of _M_decimal_point and _M_thousands_sep.
* config/locale/gnu/time_members.cc
(__timepunct<wchar_t>::_M_initialize_timepunct): Clean up
and reformat assignments of date and time fields.
From-SVN: r83346
2004-06-18 10:54:44 +00:00
R. Kelley Cook
9463204774
Fix incorrect year for some ChangeLog entries.
...
From-SVN: r83335
2004-06-18 02:24:43 +00:00
GCC Administrator
ed2e7facb5
Daily bump.
...
[[Split portion of a mixed commit.]]
From-SVN: r83327.2
2004-06-18 00:16:16 +00:00
GCC Administrator
902fd62ceb
Daily bump.
...
[[Split portion of a mixed commit.]]
From-SVN: r83278.2
2004-06-17 00:16:16 +00:00
Paolo Carlini
e751adc3b1
rope (rope(_CharT, const allocator_type&)): Fix to use _Data_allocate.
...
2004-06-16 Paolo Carlini <pcarlini@suse.de>
* include/ext/rope (rope(_CharT, const allocator_type&)): Fix
to use _Data_allocate.
* include/ext/ropeimpl.h (rope<>::_S_leaf_concat_char_iter): Likewise.
(rope<>::_S_substring): Likewise.
(rope<>::rope(size_t, _CharT, const allocator_type&)): Likewise.
(rope<>::c_str()): Likewise.
(rope<>::replace_with_c_str()): Likewise.
* include/ext/ropeimpl.h (_Rope_iterator_base<>::_S_setbuf):
Correctly qualify _S_leaf, _S_function, etc., with _Rope_constants::,
not _RopeRep.
(_Rope_iterator_base<>::_S_setcache): Likewise.
(_Rope_iterator_base<>::_S_setcache_for_incr): Likewise.
(rope<>::_S_substring): Likewise.
(rope<>::_S_dump): Likewise.
(rope<>::_S_fetch_ptr): Likewise.
(rope<>::_S_compare): Likewise.
(rope<>::replace_with_c_str()): Likewise.
* testsuite/ext/rope.cc: Rename to testsuite/ext/rope/1.cc.
* testsuite/ext/rope/2.cc: New.
2004-06-16 Paolo Carlini <pcarlini@suse.de>
Matt Austern <austern@apple.com>
* testsuite/ext/rope/3.cc: New.
Co-Authored-By: Matt Austern <austern@apple.com>
From-SVN: r83251
2004-06-16 17:29:16 +00:00
Andreas Schwab
58b9accaeb
Remove conflict marker.
...
From-SVN: r83234
2004-06-16 10:45:58 +00:00
GCC Administrator
aaab7bb6d7
Daily bump.
...
[[Split portion of a mixed commit.]]
From-SVN: r83219.2
2004-06-16 00:16:15 +00:00
Paolo Bonzini
076e544330
configure.ac: New name of configure.in.
...
libmudflap/ChangeLog:
2005-06-15 Paolo Bonzini <bonzini@gnu.org>
* configure.ac: New name of configure.in. Update
AC_INIT, AC_CONFIG_SRCDIR, AC_CONFIG_HEADERS, AC_CONFIG_FILES,
AC_OUTPUT, AM_INIT_AUTOMAKE to the preferred style for
Autoconf 2.5x and Automake 1.7 or later.
* configure.in: Remove.
* configure: Regenerate.
* Makefile.am: Remove useless multilib rules.
* Makefile.in: Regenerate.
libstdc++-v3/ChangeLog:
2005-06-15 Paolo Bonzini <bonzini@gnu.org>
* acinclude.m4: Remove useless multilib configury.
* Makefile.am: Remove useless multilib rules.
* aclocal.m4: Regenerate.
* Makefile.in: Regenerate.
* configure.ac: Use AM_ENABLE_MULTILIB.
* configure: Regenerate.
zlib/ChangeLog.gcj:
2005-06-15 Paolo Bonzini <bonzini@gnu.org>
* Makefile.am: Remove useless multilib rules.
* configure.ac: Rewrite multilib support to use
features of recent automakes.
* aclocal.m4: Regenerate with Automake 1.8.5.
* Makefile.in: Regenerate with Automake 1.8.5.
* configure: Regenerate.
libffi/ChangeLog:
2005-06-15 Paolo Bonzini <bonzini@gnu.org>
* Makefile.am: Remove useless multilib rules.
* Makefile.in: Regenerate.
* aclocal.m4: Regenerate with automake 1.8.5.
* configure.ac: Remove useless multilib configury.
* configure: Regenerate.
From-SVN: r83184
2004-06-15 14:47:55 +00:00
Paolo Carlini
659e82ad0f
hashtable.h: Trivial formatting fixes.
...
2004-06-15 Paolo Carlini <pcarlini@suse.de>
* include/ext/hashtable.h: Trivial formatting fixes.
* include/ext/rb_tree: Likewise.
From-SVN: r83183
2004-06-15 13:43:56 +00:00
GCC Administrator
6fb25ec080
Daily bump.
...
[[Split portion of a mixed commit.]]
From-SVN: r83152.2
2004-06-15 00:16:23 +00:00
Paolo Carlini
d962e073a0
hash_map: Trivial formatting fixes.
...
2004-06-14 Paolo Carlini <pcarlini@suse.de>
* include/ext/hash_map: Trivial formatting fixes.
* include/ext/hash_set: Likewise.
* include/ext/memory: Likewise.
* include/ext/numeric: Likewise.
From-SVN: r83131
2004-06-14 19:40:45 +00:00
Benjamin Kosnik
2373de3a83
Makefile.in: Regenerate with automake 1.8.5.
...
2004-06-14 Benjamin Kosnik <bkoz@redhat.com>
* Makefile.in: Regenerate with automake 1.8.5.
* aclocal.m4: Same.
* include/Makefile.in: Same.
* libmath/Makefile.in: Same.
* libsupc++/Makefile.in: Same.
* po/Makefile.in: Same.
* src/Makefile.in: Same.
* testsuite/Makefile.in: Same.
From-SVN: r83123
2004-06-14 17:49:30 +00:00
Paolo Carlini
14ba6d00aa
slist: Trivial formatting fixes.
...
2004-06-14 Paolo Carlini <pcarlini@suse.de>
* include/ext/slist: Trivial formatting fixes.
From-SVN: r83098
2004-06-14 13:03:45 +00:00
Paolo Carlini
ce2a46a203
locale_facets.tcc (time_get<>::_M_extract_name): Don't use the 'magic number' 10 in the computation of __minlen...
...
2004-06-14 Paolo Carlini <pcarlini@suse.de>
* include/bits/locale_facets.tcc (time_get<>::_M_extract_name):
Don't use the 'magic number' 10 in the computation of __minlen;
never access __name past __minlen; in the loop over __i3, don't
decrease __nmatches and increase __i3 at once, only either of
the two; tidy.
From-SVN: r83088
2004-06-14 10:49:36 +00:00
GCC Administrator
bd85b0cba6
Daily bump.
...
[[Split portion of a mixed commit.]]
From-SVN: r83074.2
2004-06-14 00:16:16 +00:00
Paolo Carlini
fc6b41718d
locale_facets.tcc (time_get<>::do_get_time, [...]): Use only once _M_extract_via_format...
...
2004-06-13 Paolo Carlini <pcarlini@suse.de>
* include/bits/locale_facets.tcc (time_get<>::do_get_time,
time_get<>::do_get_date): Use only once _M_extract_via_format,
instead of going through "%X"/"%x" and calling it two times
(+ using widen).
From-SVN: r83059
2004-06-13 09:52:14 +00:00
GCC Administrator
3e7ea383e6
Daily bump.
...
[[Split portion of a mixed commit.]]
From-SVN: r83049.2
2004-06-13 00:16:53 +00:00
Paolo Carlini
4a787fa8bf
[multiple changes]
...
2004-06-12 Paolo Carlini <pcarlini@suse.de>
* include/ext/algorithm: Trivial formatting fixes.
* include/ext/functional: Likewise.
* include/ext/hash_fun.h: Likewise.
* include/ext/iterator: Likewise.
2004-06-12 Paolo Carlini <pcarlini@suse.de>
* include/bits/basic_string.tcc (find(const _CharT*, size_type,
size_type)): Reimplement using std::search.
* src/string-inst.cc: Instantiate std::search for char/wchar_t.
2004-06-12 Dhruv Matani <dhruvbird@gmx.net>
* testsuite/performance/21_strings/string_find.cc: New.
From-SVN: r83022
2004-06-12 08:10:24 +00:00
GCC Administrator
e4602cf33b
Daily bump.
...
[[Split portion of a mixed commit.]]
From-SVN: r83008.2
2004-06-12 00:16:18 +00:00
GCC Administrator
57ab9ac22c
Daily bump.
...
[[Split portion of a mixed commit.]]
From-SVN: r82953.2
2004-06-11 00:16:14 +00:00
Aaron W. LaFramboise
bdd2a210b8
istream.tcc (istream::ignore): Fix for -Wuninitialized.
...
2004-06-10 Aaron W. LaFramboise <aaronraolete36@aaronwl.com>
* include/bits/istream.tcc (istream::ignore): Fix for -Wuninitialized.
From-SVN: r82939
2004-06-10 19:54:59 +00:00
Jan van Dijk
9ef313e31c
std_complex.h (sin(const complex<_Tp>& __z)): Make this function return a value.
...
2004-06-10 Jan van Dijk <jan@etpmod.phys.tue.nl>
* include/std/std_complex.h (sin(const complex<_Tp>& __z)): Make
this function return a value.
From-SVN: r82928
2004-06-10 16:54:49 +00:00
GCC Administrator
ee18c9f169
Daily bump.
...
[[Split portion of a mixed commit.]]
From-SVN: r82874.2
2004-06-10 00:16:17 +00:00
Paolo Carlini
7338fc64dd
re PR libstdc++/15775 (Allocator::pointer consistently ignored)
...
2004-06-09 Paolo Carlini <pcarlini@suse.de>
PR libstdc++/15775
* include/bits/stl_deque.h: Consistently with stl_set.h, define
pointer as allocator's pointer, likewise for reference,
const_pointer, and const_reference.
* include/bits/stl_list.h: Likewise.
* include/bits/stl_map.h: Likewise.
* include/bits/stl_multimap.h: Likewise.
* include/bits/stl_vector.h: Likewise.
From-SVN: r82857
2004-06-09 21:37:46 +00:00
Benjamin Kosnik
92efec6ec5
crossconfig.m4: Remove signbit, signbitf, signbitl.
...
2004-06-09 Benjamin Kosnik <bkoz@redhat.com>
* crossconfig.m4: Remove signbit, signbitf, signbitl.
* linkage.m4: Comment LIBMATHOBJS, tweak others. AC_DEFINES for
builtin math functions instead of AC_DEFINE_UNQUOTED.
* configure: Regenerate.
From-SVN: r82815
2004-06-09 07:26:28 +00:00
Benjamin Kosnik
57ffad2ba3
filter.sed: Rename _GLIBCXX_STD to std.
...
2004-06-08 Benjamin Kosnik <bkoz@redhat.com>
* docs/doxygen/filter.sed: Rename _GLIBCXX_STD to std.
* docs/doxygen/mainpage.html: Remove links.
From-SVN: r82814
2004-06-09 06:09:17 +00:00
Jason Merrill
37f3105a58
linker-map.gnu: Use wildcards for __basic_file::{xsgetn,xsputn,seekoff,xsputn_2}.
...
* config/linker-map.gnu: Use wildcards for
__basic_file::{xsgetn,xsputn,seekoff,xsputn_2}.
From-SVN: r82813
2004-06-08 23:56:34 -04:00
GCC Administrator
03febbee84
Daily bump.
...
[[Split portion of a mixed commit.]]
From-SVN: r82802.2
2004-06-09 00:16:16 +00:00
Paolo Carlini
5f1a5ede6c
pool_allocator.h: Convert to a global free-list, as per the original SGI/HP design...
...
2004-06-08 Paolo Carlini <pcarlini@suse.de>
* include/ext/pool_allocator.h: Convert to a global free-list,
as per the original SGI/HP design: move the implementation
details to struct __pool_base, from which __pool_alloc derives.
* src/allocator.cc: Instantiate __pool_base.
From-SVN: r82794
2004-06-08 22:19:18 +00:00
GCC Administrator
aa07e14d5d
Daily bump.
...
[[Split portion of a mixed commit.]]
From-SVN: r82733.2
2004-06-08 00:16:25 +00:00
Dhruv Matani
345b912f50
2004-06-07 Dhruv Matani <dhruvbird@gmx.net>
...
Paolo Carlini <pcarlini@suse.de>
* testsuite/testsuite_performance.h
(resource_counter::allocated_memory): Make it return the right
number of bytes requested by the allocators/application. This is
the sbrk+mmaped memory.
Co-Authored-By: Paolo Carlini <pcarlini@suse.de>
From-SVN: r82725
2004-06-07 21:56:16 +00:00
GCC Administrator
00dd8ca593
Daily bump.
...
[[Split portion of a mixed commit.]]
From-SVN: r82677.2
2004-06-07 00:16:15 +00:00
GCC Administrator
ad94c84603
Daily bump.
...
[[Split portion of a mixed commit.]]
From-SVN: r82658.2
2004-06-06 00:16:15 +00:00
GCC Administrator
0fa96cea26
Daily bump.
...
[[Split portion of a mixed commit.]]
From-SVN: r82640.2
2004-06-05 00:16:17 +00:00
GCC Administrator
1b6be71988
Daily bump.
...
[[Split portion of a mixed commit.]]
From-SVN: r82616.2
2004-06-04 00:16:17 +00:00
GCC Administrator
85e933d8ed
Daily bump.
...
[[Split portion of a mixed commit.]]
From-SVN: r82592.2
2004-06-03 00:16:16 +00:00
Gabriel Dos Reis
b53dcf3e5c
* include/std/std_complex.h (log): Tidy.
...
From-SVN: r82584
2004-06-02 21:04:07 +00:00
GCC Administrator
1e2a2bdc35
Daily bump.
...
[[Split portion of a mixed commit.]]
From-SVN: r82566.2
2004-06-02 00:16:15 +00:00
GCC Administrator
017f7506b5
Daily bump.
...
From-SVN: r82525
2004-06-01 00:16:14 +00:00
Benjamin Kosnik
7c9fee34e5
linker-map.gnu (GLIBCXX_3.4.1): Add.
...
2004-05-31 Benjamin Kosnik <bkoz@redhat.com>
* config/linker-map.gnu (GLIBCXX_3.4.1): Add.
* testsuite/testsuite_abi.cc: Same.
* configure.ac (libtool_VERSION): Bump to 6:1:0.
* configure: Regenerate.
* aclocal.m4: Regenerate.
From-SVN: r82498
2004-05-31 21:19:52 +00:00
GCC Administrator
d1eea9c043
Daily bump.
...
From-SVN: r82472
2004-05-31 00:16:13 +00:00
Gabriel Dos Reis
a4ddde0dee
std_complex.h (complex<_Tp>): Properly indent to follow C++STYLE.
...
* include/std/std_complex.h (complex<_Tp>): Properly indent
to follow C++STYLE.
(complex<>::__rep): New.
(__complex_abs): New. Dispatch to built-ins.
(abs): Use them.
(__complex_arg): New. Dispatch to built-ins.
(arg): Use it.
(__complex_cos): New. Dispatch to built-ins.
(cos): Use it.
(__complex_cosh): New. Dispatch to built-ins.
(cosh): Use it.
(__complex_exp): New. Dispatch to built-ins.
(exp): Use it.
(__complex_log): New. Dispatch to built-ins.
(log): Use it.
(__complex_sin): New. Dispatch to built-ins.
(sin): Use it.
(__complex_sinh): New. Dispatch to built-ins.
(sinh): Use it.
(__complex_sqrt): New. Dispatch to built-ins.
(sqrt): Use it.
(__complex_tan): New. Dispatch to built-ins.
(tan): Use it.
(__complex_tanh): New. Dispatch to built-ins.
(tanh): Use it.
(__complex_pow): New. Dispatch to built-ins.
(pow): Use it.
From-SVN: r82453
2004-05-30 14:41:39 +00:00
GCC Administrator
666e5d7b94
Daily bump.
...
From-SVN: r82436
2004-05-30 00:16:13 +00:00
Richard B. Kreckel
803cb0b5c9
re PR libstdc++/14600 (__gnu_cxx::stdio_sync_filebuf should expose internal FILE*)
...
2004-05-29 Richard B. Kreckel <Richard.Kreckel@Framatome-ANP.com>
Benjamin Kosnik <bkoz@redhat.com>
PR libstdc++/14600
* include/ext/stdio_sync_filebuf.h (stdio_sync_filebuf::file): New.
* include/ext/stdio_filebuf.h (stdio_filebuf::file): New.
* config/io/basic_file_stdio.cc (__basic_file::file): New.
* config/io/basic_file_stdio.h: Define.
Co-Authored-By: Benjamin Kosnik <bkoz@redhat.com>
From-SVN: r82419
2004-05-29 14:40:59 +00:00
GCC Administrator
b1243dd57b
Daily bump.
...
From-SVN: r82407
2004-05-29 00:16:16 +00:00
Benjamin Kosnik
e8a382b780
re PR libstdc++/15675 (Doxygen graph are invalid in the libstdc++-v3 online docs)
...
2004-05-27 Benjamin Kosnik <bkoz@redhat.com>
PR libstdc++/15675
* docs/html/documentation.html: Update doxygen links for 3.4.0.
From-SVN: r82355
2004-05-28 04:25:18 +00:00
Jan Beulich
a9c70186f4
create_testsuite_files: Tweak.
...
2004-05-27 Jan Beulich <jbeulich@novell.com>
* scripts/create_testsuite_files: Tweak.
From-SVN: r82354
2004-05-28 04:21:50 +00:00
GCC Administrator
431b736152
Daily bump.
...
From-SVN: r82345
2004-05-28 00:16:14 +00:00
GCC Administrator
67d060c4ed
Daily bump.
...
From-SVN: r82305
2004-05-27 00:16:17 +00:00
GCC Administrator
de29c8bc56
Daily bump.
...
From-SVN: r82271
2004-05-26 00:16:43 +00:00
Benjamin Kosnik
9874adaf91
re PR libstdc++/15489 (testsuite_files determined incorrectly)
...
2004-05-25 Benjamin Kosnik <bkoz@redhat.com>
PR libstdc++/15489
* scripts/create_testsuite_files: Revert xtype change, add non-GNU
bits to do the same thing.
From-SVN: r82250
2004-05-25 17:53:00 +00:00
GCC Administrator
42cc8f8919
Daily bump.
...
From-SVN: r82222
2004-05-25 00:16:18 +00:00
Paolo Carlini
b1c5b5a09b
istream.tcc (ignore): Correctly deal with n == numeric_limits<streamsize>::max().
...
2004-05-24 Paolo Carlini <pcarlini@suse.de>
* include/bits/istream.tcc (ignore): Correctly deal with
n == numeric_limits<streamsize>::max().
* testsuite/27_io/basic_istream/ignore/char/2.cc: New.
* include/bits/istream.tcc (basic_istream<>::getline): Prefer
'_M_gcount + 1 < __n' to '--__n; _M_gcount < __n', just in case
__n == numeric_limits<>::min().
* include/bits/istream.tcc: Minor tweaks.
* testsuite/21_strings/basic_string/inserters_extractors/char/10.cc:
Tighten.
* testsuite/21_strings/basic_string/inserters_extractors/char/11.cc:
Likewise.
* testsuite/21_strings/basic_string/inserters_extractors/wchar_t/10.cc:
Likewise.
* testsuite/21_strings/basic_string/inserters_extractors/wchar_t/11.cc:
Likewise.
* testsuite/27_io/basic_istream/getline/char/5.cc: Likewise.
From-SVN: r82198
2004-05-24 09:40:56 +00:00
GCC Administrator
8eeea0c1c7
Daily bump.
...
From-SVN: r82180
2004-05-24 00:16:32 +00:00
GCC Administrator
42159b8af9
Daily bump.
...
From-SVN: r82156
2004-05-23 00:16:18 +00:00
Benjamin Kosnik
26c691a88b
re PR libstdc++/12854 (libstdc++ vs. -Weffc++)
...
2004-05-22 Benjamin Kosnik <bkoz@redhat.com>
PR libstdc++/12854
Fixups for -Weffc++.
* include/bits/basic_string.h (basic_string::operator=): Return
pointer to this instead of result of assign. Although redundant,
this doesn't impact resultant codegen.
* include/bits/locale_facets.h (__numpunct_cache): Declare
assignment opxserator and copy constructor private.
(__timepunct_cache): Same.
(__moneypunct_cache): Same.
(collate): Use member initialization list for _M_c_locale_collate.
* config/locale/gnu/messages_members.h: Same.
* config/locale/gnu/time_members.h (__timepunct): Same.
* src/codecvt.cc: Use member initialization list to initialize
_M_c_locale_codecvt.
* src/ctype.cc: Same, with _M_c_locale_ctype and _M_narrow_ok.
* config/os/gnu-linux/ctype_noninline.h: Same.
* src/locale.cc (_Impl): Same.
* src/locale_init.cc: Same.
* src/localename.cc: Same.
* include/bits/basic_ios.h (basic_ios): Complete member
initialization list.
* include/bits/istream.tcc (basic_istream::sentry): Same.
* include/bits/ostream.tcc (basic_ostream::sentry): Same.
* include/bits/fstream.tcc (basic_filebuf): Add _M_lock and
_M_pback to member initialization list.
* include/std/std_streambuf.h: Same.
* include/std/std_sstream.h: Same, for _M_mode.
* src/ios.cc (ios_base): Same.
* include/ext/rope: Make derived classes match exception
specifications. Add copy constructors and assignment operators.
* include/debug/safe_base.h (_Safe_sequence_base): Declare copy
constructor and assignment operator protected.
(_Safe_iterator_base): Same.
* include/debug/formatter.h (_Error_formatter): Define copy
constructor and assignment operator.
* include/backward/strstream: Declare assignment operator and copy
constructor private.
From-SVN: r82153
2004-05-22 23:46:34 +00:00
Benjamin Kosnik
f4a1faa55f
testsuite_hooks.h (func_callback): Declare copy constructor and assignment operator private.
...
2004-05-22 Benjamin Kosnik <bkoz@redhat.com>
* testsuite/testsuite_hooks.h (func_callback): Declare copy
constructor and assignment operator private.
* testsuite/23_containers/deque/cons/clear_allocator.cc: Match
exception specifications of base class.
* testsuite/23_containers/list/cons/clear_allocator.cc: Same.
* testsuite/23_containers/vector/cons/clear_allocator.cc: Same.
* testsuite/23_containers/vector/bool/clear_allocator.cc: New.
From-SVN: r82150
2004-05-22 21:51:07 +00:00
Benjamin Kosnik
52ceb03971
cxxabi.h: Remove duplicated and useless public and private keywords in class declarations.
...
2004-05-22 Benjamin Kosnik <bkoz@redhat.com>
* libsupc++/cxxabi.h: Remove duplicated and useless public and
private keywords in class declarations. Format. Use
stddef.h. Expose declarations to "C" compilation.
* libsupc++/tinfo.cc (__upcast_result): Add copy constructor and
assignment operator.
(__dyncast_result): Same.
* libsupc++/vec.cc (uncatch_exception): Same, use member
initialization list.
From-SVN: r82147
2004-05-22 21:07:28 +00:00
Benjamin Kosnik
6ad70bf28a
abi_check.cc: Add unistd.h.
...
2004-05-22 Benjamin Kosnik <bkoz@redhat.com>
* testsuite/abi_check.cc: Add unistd.h.
From-SVN: r82137
2004-05-22 17:08:02 +00:00
Paolo Carlini
fea6ecb746
re PR libstdc++/15565 ([3.4 only] SLES9: leading + sign for unsigned int with showpos)
...
2004-05-22 Paolo Carlini <pcarlini@suse.de>
PR libstdc++/15565
* include/bits/locale_facets.tcc (__int_to_char(unsigned long),
__int_to_char(unsigned long long)): Showpos is not relevant
for unsigned types.
* testsuite/22_locale/num_put/put/char/15565.cc: New.
* testsuite/22_locale/num_put/put/wchar_t/15565.cc: New.
* testsuite/22_locale/num_put/put/wchar_t/1.cc: Use L for the fill
char.
* testsuite/22_locale/num_put/put/wchar_t/2.cc: Likewise.
* testsuite/22_locale/num_put/put/wchar_t/3.cc: Likewise.
* testsuite/22_locale/num_put/put/wchar_t/4.cc: Likewise.
* testsuite/22_locale/num_put/put/wchar_t/5.cc: Likewise.
* testsuite/22_locale/num_put/put/wchar_t/6.cc: Likewise.
* testsuite/22_locale/num_put/put/wchar_t/8.cc: Likewise.
From-SVN: r82128
2004-05-22 09:02:56 +00:00
Matthias Klose
2461ecbe6c
run_doxygen: Bump required version.
...
2004-05-21 Matthias Klose <doko@debian.org>
* docs/doxygen/run_doxygen: Bump required version.
From-SVN: r82125
2004-05-22 07:07:01 +00:00
Benjamin Kosnik
a3e14d3983
abi.html (libgcc_s): Additions suggested by Matthias Klose.
...
2004-05-21 Benjamin Kosnik <bkoz@redhat.com>
* docs/html/abi.html (libgcc_s): Additions suggested by Matthias Klose.
* docs/doxygen/Intro.3: Subtractions suggested by Phil Edwards.
From-SVN: r82122
2004-05-22 05:01:36 +00:00
GCC Administrator
c5042c5c8b
Daily bump.
...
From-SVN: r82118
2004-05-22 00:16:14 +00:00
Paolo Carlini
32da620821
istream.tcc (ignore): Remove redundant line.
...
2004-05-21 Paolo Carlini <pcarlini@suse.de>
* include/bits/istream.tcc (ignore): Remove redundant line.
(readsome): Tidy, closely following 27.6.1.3, p30.
From-SVN: r82103
2004-05-21 17:16:21 +00:00
GCC Administrator
8754a0f6a0
Daily bump.
...
From-SVN: r82081
2004-05-21 00:16:18 +00:00
Paolo Carlini
3adf6cadbb
istream.tcc (operator>>(basic_istream<>&, basic_string<>&)): Use a temporary buffer, thus avoiding reallocation for common case.
...
2004-05-20 Paolo Carlini <pcarlini@suse.de>
* include/bits/istream.tcc (operator>>(basic_istream<>&,
basic_string<>&)): Use a temporary buffer, thus avoiding
reallocation for common case.
* testsuite/21_strings/basic_string/inserters_extractors/char/11.cc:
New.
* testsuite/21_strings/basic_string/inserters_extractors/wchar_t/11.cc:
Likewise.
* include/bits/istream.tcc: Const-ification of a few variables.
* include/bits/ostream.tcc: Trivial formatting fixes and
const-ification of some variables.
From-SVN: r82070
2004-05-20 22:06:40 +00:00
Benjamin Kosnik
66fda8b2e6
re PR libstdc++/15123 (libstdc++-doc: Allocators.3 manpage is empty)
...
2004-05-20 Benjamin Kosnik <bkoz@redhat.com>
PR libstdc++/15123
PR libstdc++/13928
* docs/doxygen/Intro.3: Remove Allocators.3.
Add new extension headers, extension namespace list.
* docs/doxygen/run_doxygen (problematic): Remove Allocators.3
Rename GLIBCXXSTD names to std::. Rename __gnu_debug to
__gnu_debug::. Remove __policy_ renames.
* docs/doxygen/guide.html: Add dot note.
* docs/doxygen/stdheader.cc: Edit, add files.
* docs/doxygen/user.cfg.in: Regenerate with Doxygen 1.3.7.
From-SVN: r82066
2004-05-20 18:52:09 +00:00
GCC Administrator
a43b9dbe90
Daily bump.
...
From-SVN: r82045
2004-05-20 00:16:12 +00:00
Jonathan Wakely
c6618c0336
re PR libstdc++/11691 (stdio_filebuf leaks FILE buffer when "no close" is requested)
...
2004-05-18 Jonathan Wakely <redi@gcc.gnu.org>
* include/ext/stdio_filebuf.h: Update comments to reflect PR 11691.
From-SVN: r82019
2004-05-19 09:31:07 +01:00
GCC Administrator
933520b9be
Daily bump.
...
From-SVN: r82012
2004-05-19 00:16:12 +00:00
Jan Beulich
b79634e3d8
re PR libstdc++/15489 (testsuite_files determined incorrectly)
...
2004-05-18 Jan Beulich <jbeulich@novell.com>
PR libstdc++/15489
* scripts/create_testsuite_files: Also find source files through
symbolic links.
2004-05-18 Jan Beulich <jbeulich@novell.com>
PR libstdc++/15488
* testsuite/lib/libstdc++.exp: Make test files writable.
From-SVN: r82002
2004-05-18 18:42:27 +00:00
Paolo Carlini
2ab20654a2
[multiple changes]
...
2004-05-18 Paolo Carlini <pcarlini@suse.de>
* include/ext/mt_allocator.h:(__mt_alloc::allocate): Minor
tweaks.
2004-05-18 Dhruv Matani <dhruvbird@gmx.net>
* include/ext/mt_allocator.h:(__mt_alloc::allocate): Re-write
allocation loop which removes blocks from the global free list
from O(N) to O(1) when the required blocks are <= the number
available.
From-SVN: r81992
2004-05-18 15:58:33 +00:00
Kaz Kojima
c779c42fc3
re PR bootstrap/15120 ([3.3 only] [libtool bug] hidden symbol `__sdivsi3_i4' is referenced by DSO)
...
PR bootstrap/15120
* libtool.m4 (lt_cv_deplibs_check_method): Use pass_all on sh*.
* */configure: Rebuilt.
From-SVN: r81980
2004-05-18 10:11:38 +00:00
Jonathan Wakely
319da9da6b
enc_filebuf.h: Move concept-check macro to class scope.
...
2004-05-18 Jonathan Wakely <redi@gcc.gnu.org>
* include/ext/enc_filebuf.h: Move concept-check macro to class scope.
From-SVN: r81978
2004-05-18 10:09:39 +01:00
Benjamin Kosnik
261e5b9e6a
[multiple changes]
...
2004-05-17 Benjamin Kosnik <bkoz@redhat.com>
* testsuite/testsuite_hooks.h (__gnu_test::conversion): New class.
* testsuite/23_containers/deque/14340.cc: New.
* testsuite/23_containers/list/14340.cc: New.
* testsuite/23_containers/map/14340.cc: New.
* testsuite/23_containers/multimap/14340.cc: New.
* testsuite/23_containers/multiset/14340.cc: New.
* testsuite/23_containers/set/14340.cc: New.
* testsuite/23_containers/vector/14340.cc: New.
2004-05-17 Douglas Gregor <gregod@cs.rpi.edu>
PR libstdc++/14340
* include/debug/safe_iterator.h (_Safe_iterator converting
constructor): Only allow declaration to instantiate when the
incoming _Safe_iterator has exactly the right iterator type.
From-SVN: r81970
2004-05-18 03:27:57 +00:00
GCC Administrator
b7cefb87f0
Daily bump.
...
From-SVN: r81964
2004-05-18 00:16:13 +00:00
Jonathan Wakely
b2342b5484
boost_concept_check.h: Fix old attribute syntax.
...
2004-05-17 Jonathan Wakely <redi@gcc.gnu.org>
* include/bits/boost_concept_check.h: Fix old attribute syntax.
* testsuite/23_containers/map/modifiers/swap.cc: Define operator<
to pass concept-checks.
* testsuite/23_containers/multimap/modifiers/swap.cc: Same.
* testsuite/23_containers/set/modifiers/swap.cc: Same.
* testsuite/23_containers/multiset/modifiers/swap.cc: Same.
From-SVN: r81953
2004-05-17 22:56:18 +01:00
GCC Administrator
43d95aeec1
Daily bump.
...
From-SVN: r81930
2004-05-17 00:16:46 +00:00
Paolo Carlini
5a4db26d01
std_bitset.h: Minor formatting fixes.
...
2004-05-16 Paolo Carlini <pcarlini@suse.de>
* include/std/std_bitset.h: Minor formatting fixes.
From-SVN: r81917
2004-05-16 17:45:29 +00:00
Paolo Carlini
08f7c2eb78
mt_allocator.h (__mt_alloc<>::deallocate): Consistently update __bin._M_free[0].
...
2004-05-16 Paolo Carlini <pcarlini@suse.de>
* include/ext/mt_allocator.h (__mt_alloc<>::deallocate):
Consistently update __bin._M_free[0].
(__mt_alloc<>::allocate): When __bin._M_first[0] != NULL use
__bin._M_free[0] to simplify the while loop (i.e., the number
of iterations becomes known at the outset).
From-SVN: r81916
2004-05-16 17:01:40 +00:00
GCC Administrator
861464a0fb
Daily bump.
...
From-SVN: r81910
2004-05-16 00:16:11 +00:00
Paolo Carlini
5c33bb6218
std_bitset.h: Trivial formatting fixes.
...
2004-05-15 Paolo Carlini <pcarlini@suse.de>
* include/std/std_bitset.h: Trivial formatting fixes.
From-SVN: r81878
2004-05-15 11:43:03 +00:00