Matthias Klose
05d2826595
baseline_symbols.txt: New.
...
2004-08-20 Matthias Klose <doko@debian.org>
* config/abi/s390-linux-gnu/baseline_symbols.txt: New.
From-SVN: r86318
2004-08-20 13:39:18 +00:00
Paolo Carlini
c0ca279584
cmath.tcc (__cmath_power): Suppress assignment used as truth value warning.
...
2004-08-20 Paolo Carlini <pcarlini@suse.de>
* include/c_std/cmath.tcc (__cmath_power): Suppress assignment
used as truth value warning.
From-SVN: r86310
2004-08-20 10:32:34 +00:00
Paolo Carlini
7368df6fa3
baseline_symbols.txt: Add 32 bit baseline.
...
2004-08-20 Paolo Carlini <pcarlini@suse.de>
* config/abi/x86_64-linux-gnu/32/baseline_symbols.txt: Add 32 bit
baseline.
From-SVN: r86304
2004-08-20 09:01:05 +00:00
Paolo Carlini
f14bf98ed3
baseline_symbols.txt: Fix it.
...
2004-08-20 Paolo Carlini <pcarlini@suse.de>
* config/abi/x86_64-linux-gnu/baseline_symbols.txt: Fix it.
From-SVN: r86302
2004-08-20 08:33:46 +00:00
Benjamin Kosnik
b850582895
3.cc (test03): Don't check timezone.
...
2004-08-19 Benjamin Kosnik <bkoz@redhat.com>
* testsuite/22_locale/time_put/put/char/3.cc (test03): Don't check
timezone.
* testsuite/22_locale/time_put/put/wchar_t/3.cc (test03): Same.
From-SVN: r86271
2004-08-19 20:47:39 +00:00
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Danny Smith
5794581363
* include/c_std/std_cwchar.h (wcsstr): Correct signature.
...
From-SVN: r84945
2004-07-20 08:47:42 +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
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
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