GCC Administrator
5292fe6134
Daily bump.
...
From-SVN: r70089
2003-08-02 00:16:06 +00:00
Phil Edwards
b3f2a0325d
libstdc++-v3-dg.exp: Rename...
...
2003-07-31 Phil Edwards <pme@gcc.gnu.org>
* testsuite/lib/libstdc++-v3-dg.exp: Rename...
* testsuite/lib/libstdc++-v3.exp: ...to this.
* testsuite/libstdc++-v3.dg/dg.exp: No special case needed now.
From-SVN: r70033
2003-08-01 00:49:14 +00:00
GCC Administrator
e3da5a9a50
Daily bump.
...
From-SVN: r70028
2003-08-01 00:16:06 +00:00
Doug Gregor
e64a227a8d
Tests for user specialization of standard containers.
...
From-SVN: r70018
2003-07-31 22:23:38 +00:00
Benjamin Kosnik
17472bb623
Reshuffle 23_containers testsuite.
...
2003-07-31 Benjamin Kosnik <bkoz@redhat.com>
Reshuffle 23_containers testsuite.
* 23_containers/adaptors.cc, bitset_ctor.cc,bitset_members.cc,
bitset_shift.cc, deque_ctor.cc, deque_operators.cc,
list_capacity.cc, list_ctor.cc, list_modifiers.cc, list_operators.cc,
map_insert.cc, map_operators.cc, map_operators_neg.cc, multiset.cc,
set_operators_neg.cc, vector_bool.cc, vector_capacity.cc,
vector_ctor.cc, vector_element_access.cc, vector_modifiers.cc,
vector_resize.cc: Split into...
* 23_containers/bitset/cons/1.cc: New.
* 23_containers/bitset/cons/6282.cc: New.
* 23_containers/bitset/count/6124.cc: New.
* 23_containers/bitset/operations/1.cc: New.
* 23_containers/bitset/operations/2.cc: New.
* 23_containers/bitset/test/1.cc: New.
* 23_containers/bitset/to_ulong/1.cc: New.
* 23_containers/deque/cons/1.cc: New.
* 23_containers/deque/cons/2.cc: New.
* 23_containers/deque/operators/1.cc: New.
* 23_containers/list/capacity/1.cc: New.
* 23_containers/list/cons/1.cc: New.
* 23_containers/list/cons/2.cc: New.
* 23_containers/list/cons/3.cc: New.
* 23_containers/list/cons/4.cc: New.
* 23_containers/list/cons/5.cc: New.
* 23_containers/list/cons/6.cc: New.
* 23_containers/list/cons/7.cc: New.
* 23_containers/list/cons/8.cc: New.
* 23_containers/list/cons/9.cc: New.
* 23_containers/list/modifiers/1.cc: New.
* 23_containers/list/modifiers/2.cc: New.
* 23_containers/list/modifiers/3.cc: New.
* 23_containers/list/operators/1.cc: New.
* 23_containers/list/operators/2.cc: New.
* 23_containers/list/operators/3.cc: New.
* 23_containers/list/operators/4.cc: New.
* 23_containers/map/insert/1.cc: New.
* 23_containers/map/operators/1.cc: New.
* 23_containers/map/operators/1_neg.cc: New.
* 23_containers/multiset/insert/1.cc: New.
* 23_containers/priority_queue/members/7161.cc: New.
* 23_containers/queue/members/7157.cc: New.
* 23_containers/set/operators/1_neg.cc: New.
* 23_containers/stack/members/7158.cc: New.
* 23_containers/vector/bool/1.cc: New.
* 23_containers/vector/bool/6886.cc: New.
* 23_containers/vector/capacity/1.cc: New.
* 23_containers/vector/capacity/2.cc: New.
* 23_containers/vector/capacity/8230.cc: New.
* 23_containers/vector/cons/1.cc: New.
* 23_containers/vector/cons/2.cc: New.
* 23_containers/vector/cons/3.cc: New.
* 23_containers/vector/cons/4.cc: New.
* 23_containers/vector/cons/6513.cc: New.
* 23_containers/vector/element_access/1.cc: New.
* 23_containers/vector/modifiers/1.cc: New.
* 23_containers/vector/modifiers/2.cc: New.
* 23_containers/vector/resize/1.cc: New.
From-SVN: r70011
2003-07-31 18:48:48 +00:00
Rainer Orth
515aab7cef
pthread1.cc: Add alpha*-*-osf* to dg-do run, dg-options.
...
* testsuite/thread/pthread1.cc: Add alpha*-*-osf* to dg-do run,
dg-options.
* testsuite/thread/pthread2.cc: Likewise.
* testsuite/thread/pthread3.cc: Likewise.
* testsuite/thread/pthread4.cc: Likewise.
* testsuite/thread/pthread5.cc: Likewise.
* testsuite/thread/pthread6.cc: Likewise.
* testsuite/thread/pthread7-rope.cc: Likewise.
From-SVN: r69999
2003-07-31 12:03:59 +00:00
GCC Administrator
a57ee9cd5b
Daily bump.
...
From-SVN: r69981
2003-07-31 00:16:08 +00:00
Phil Edwards
1051c718b1
c++config: Partial reversion (comment placement) of previous patch.
...
2003-07-30 Phil Edwards <pme@gcc.gnu.org>
* include/bits/c++config: Partial reversion (comment placement) of
previous patch.
From-SVN: r69963
2003-07-30 17:21:05 +00:00
Benjamin Kosnik
5f697f7aae
c++config (_GLIBCXX_FULLY_COMPLIANT_HEADERS): Remove.
...
2003-07-30 Benjamin Kosnik <bkoz@redhat.com>
* include/bits/c++config (_GLIBCXX_FULLY_COMPLIANT_HEADERS): Remove.
(_GLIBCXX_NO_TEMPLATE_EXPORT): To _GLIBCXX_EXPORT_TEMPLATE.
(_GLIBCXX_AT_AT): Remove.
(__USE_MALLOC): Remove.
* include/std/std_fstream.h: Modify.
* include/bits/basic_ios.h: Same.
* include/bits/valarray_array.h: Same.
* include/c_std/std_cmath.h: Same.
* include/c_std/cmath.tcc: Same.
* include/std/std_vector.h: Same.
* include/std/std_string.h: Same.
* include/std/std_stack.h: Same.
* include/std/std_queue.h: Same.
* include/std/std_list.h: Same.
* include/std/std_deque.h: Same.
* include/std/std_streambuf.h: Same.
* include/std/std_sstream.h: Same.
* include/std/std_ostream.h: Same.
* include/std/std_istream.h: Same.
* include/bits/valarray_array.tcc: Same, format.
* include/c/std_cctype.h: Fix include guards.
* include/c/std_cerrno.h: Same.
* include/c/std_cfloat.h: Same.
* include/c/std_climits.h: Same.
* include/c/std_clocale.h: Same.
* include/c/std_cmath.h: Same.
* include/c/std_csetjmp.h: Same.
* include/c/std_csignal.h: Same.
* include/c/std_cstdarg.h: Same.
* include/c/std_cstddef.h: Same.
* include/c/std_cstdio.h: Same.
* include/c/std_cstdlib.h: Same.
* include/c/std_cstring.h: Same.
* include/c/std_ctime.h: Same.
* include/c/std_cwchar.h: Same.
* include/c/std_cwctype.h: Same.
* include/c_std/cmath.tcc: Same.
* include/c_std/std_cmath.h: Same.
From-SVN: r69961
2003-07-30 16:51:51 +00:00
Gawain Bolton
b4c70e89da
re PR libstdc++/11504 (-Wcast-qual vs. stl_tree)
...
2003-07-30 Gawain Bolton <gp.bolton@computer.org>
PR libstdc++/11504.
* include/bits/stl_tree.h: Replace C-style casts with C++-style
casts. Changes to avoid casting away constness. Eliminate
_Rb_tree_base_iterator class. Change _Rb_tree_iterator to use
initialization lists. Move out implementation of __black_count()
to...
* src/stl_tree.cc: ...here and rename _Rb_tree_black_count().
Rename_Rb_tree_base_iterator::_M_increment() to
_Rb_tree_increment and _Rb_tree_base_iterator::_M_decrement() to
_Rb_tree_decrement.
* config/linker-map.gnu: Add and change symbols here.
From-SVN: r69958
2003-07-30 15:01:58 +00:00
Jonathan Wakely
48b3222dcc
howto.html: Use locale::classic() instead of locale("C").
...
2003-07-30 Jonathan Wakely <redi@gcc.gnu.org>
* docs/html/22_locale/howto.html: Use locale::classic() instead
of locale("C").
From-SVN: r69956
2003-07-30 15:43:35 +01:00
GCC Administrator
1598b5dcd4
Daily bump.
...
From-SVN: r69947
2003-07-30 00:16:06 +00:00
GCC Administrator
92a6fb2cf2
Daily bump.
...
From-SVN: r69907
2003-07-29 00:16:36 +00:00
Benjamin Kosnik
cb584bcf98
testsuite_hooks.h: Remove list include.
...
2003-07-28 Benjamin Kosnik <bkoz@redhat.com>
* testsuite/testsuite_hooks.h: Remove list include.
(func_callback): Define as unique type, not std::list.
Change DEBUG_ASSERT to _GLIBCXX_ASSERT.
* testsuite/libstdc++-v3.dg/dg.exp: Same.
* testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Same.
* testsuite/23_containers/bitset_ctor.cc:
* testsuite/17_intro/header_ciso646.cc: Remove DEBUG_ASSERT.
* testsuite/18_support/numeric_limits.cc: Same.
* testsuite/21_strings/basic_string/append/char/1.cc: Same.
* testsuite/21_strings/basic_string/append/wchar_t/1.cc: Same.
* testsuite/21_strings/basic_string/compare/char/1.cc: Same.
* testsuite/21_strings/basic_string/compare/wchar_t/1.cc: Same.
* testsuite/21_strings/basic_string/element_access/char/1.cc: Same.
* testsuite/21_strings/basic_string/element_access/char/2.cc: Same.
* testsuite/21_strings/basic_string/element_access/char/3.cc: Same.
* testsuite/21_strings/basic_string/element_access/wchar_t/1.cc: Same.
* testsuite/21_strings/basic_string/element_access/wchar_t/2.cc: Same.
* testsuite/21_strings/basic_string/element_access/wchar_t/3.cc: Same.
* testsuite/21_strings/basic_string/find/char/1.cc: Same.
* testsuite/21_strings/basic_string/find/char/2.cc: Same.
* testsuite/21_strings/basic_string/find/char/3.cc: Same.
* testsuite/21_strings/basic_string/find/wchar_t/1.cc: Same.
* testsuite/21_strings/basic_string/find/wchar_t/2.cc: Same.
* testsuite/21_strings/basic_string/find/wchar_t/3.cc: Same.
* testsuite/21_strings/basic_string/insert/char/1.cc: Same.
* testsuite/21_strings/basic_string/insert/char/2.cc: Same.
* testsuite/21_strings/basic_string/insert/wchar_t/1.cc: Same.
* testsuite/21_strings/basic_string/insert/wchar_t/2.cc: Same.
* testsuite/21_strings/basic_string/inserters_extractors/char/1.cc:
* testsuite/21_strings/basic_string/inserters_extractors/char/4.cc:
* testsuite/21_strings/basic_string/inserters_extractors/char/5.cc:
* testsuite/21_strings/basic_string/inserters_extractors/char/6.cc:
* testsuite/21_strings/basic_string/inserters_extractors/char/7.cc:
* testsuite/21_strings/basic_string/inserters_extractors/wchar_t/1.cc:
* testsuite/21_strings/basic_string/inserters_extractors/wchar_t/4.cc:
* testsuite/21_strings/basic_string/inserters_extractors/wchar_t/5.cc:
* testsuite/21_strings/basic_string/inserters_extractors/wchar_t/6.cc:
* testsuite/21_strings/basic_string/inserters_extractors/wchar_t/7.cc:
* testsuite/21_strings/basic_string/operators/char/1.cc: Same.
* testsuite/21_strings/basic_string/operators/char/2.cc: Same.
* testsuite/21_strings/basic_string/operators/wchar_t/1.cc: Same.
* testsuite/21_strings/basic_string/operators/wchar_t/2.cc: Same.
* testsuite/21_strings/basic_string/replace/char/1.cc: Same.
* testsuite/21_strings/basic_string/replace/wchar_t/1.cc: Same.
* testsuite/21_strings/basic_string/rfind/char/1.cc: Same.
* testsuite/21_strings/basic_string/rfind/char/2.cc: Same.
* testsuite/21_strings/basic_string/rfind/char/3.cc: Same.
* testsuite/21_strings/basic_string/rfind/wchar_t/1.cc: Same.
* testsuite/21_strings/basic_string/rfind/wchar_t/2.cc: Same.
* testsuite/21_strings/basic_string/rfind/wchar_t/3.cc: Same.
* testsuite/21_strings/basic_string/substr/char/1.cc: Same.
* testsuite/21_strings/basic_string/substr/wchar_t/1.cc: Same.
* testsuite/23_containers/bitset_ctor.cc: Same.
* testsuite/23_containers/bitset_shift.cc: Same.
* testsuite/23_containers/vector_ctor.cc: Same.
* testsuite/23_containers/vector_element_access.cc: Same.
* testsuite/24_iterators/istreambuf_iterator.cc: Same.
* testsuite/24_iterators/iterator.cc: Same.
* testsuite/24_iterators/ostreambuf_iterator.cc: Same.
* testsuite/25_algorithms/lower_bound.cc: Same.
* testsuite/26_numerics/complex_inserters_extractors.cc: Same.
* testsuite/27_io/basic_istream/extractors_arithmetic/char/01.cc: Same.
* testsuite/27_io/basic_istream/extractors_arithmetic/char/02.cc: Same.
* testsuite/27_io/basic_istream/extractors_arithmetic/char/03.cc: Same.
* testsuite/27_io/basic_istream/extractors_arithmetic/char/06.cc: Same.
* testsuite/27_io/basic_istream/extractors_arithmetic/char/07.cc: Same.
* testsuite/27_io/basic_istream/extractors_arithmetic/char/08.cc: Same.
* testsuite/27_io/basic_istream/extractors_arithmetic/char/09.cc: Same.
* testsuite/27_io/basic_istream/extractors_arithmetic/char/10.cc: Same.
* testsuite/27_io/basic_ostream/inserters_arithmetic/char/1.cc: Same.
* testsuite/27_io/basic_ostream/inserters_arithmetic/wchar_t/1.cc:
Same.
From-SVN: r69892
2003-07-28 17:12:16 +00:00
Benjamin Kosnik
36606f3954
char_traits.h: Update copyright, tweak.
...
2003-07-25 Benjamin Kosnik <bkoz@redhat.com>
* include/bits/char_traits.h: Update copyright, tweak.
* testsuite/ext/pod_char_traits.cc: Explicitly qualify namespace
std types.
From-SVN: r69883
2003-07-28 14:46:35 +00:00
Phil Edwards
1cb1de7ead
user.cfg.in, [...]: Change GLIBCPP to GLIBCXX (and explain as needed).
...
2003-07-28 Phil Edwards <pme@gcc.gnu.org>
* docs/doxygen/user.cfg.in, docs/html/abi.txt, docs/html/debug.html,
docs/html/test.html, docs/html/17_intro/headers_cc.txt,
docs/html/17_intro/howto.html, docs/html/ext/howto.html: Change
GLIBCPP to GLIBCXX (and explain as needed).
From-SVN: r69879
2003-07-28 04:13:58 +00:00
Phil Edwards
6dfe0fc9ae
README: Update.
...
2003-07-28 Phil Edwards <pme@gcc.gnu.org>
* README: Update.
From-SVN: r69878
2003-07-28 04:09:59 +00:00
Phil Edwards
2cb1c92882
1.cc, [...]: Update comment regarding the origin of LOCALEDIR.
...
2003-07-28 Phil Edwards <pme@gcc.gnu.org>
* testsuite/22_locale/messages/members/char/1.cc,
testsuite/22_locale/messages/members/char/2.cc,
testsuite/22_locale/messages/members/char/3.cc,
testsuite/22_locale/messages_byname/1.cc: Update comment regarding
the origin of LOCALEDIR.
* testsuite/lib/libstdc++-v3.exp: New file.
From-SVN: r69877
2003-07-28 04:05:30 +00:00
GCC Administrator
a9f31c7e72
Daily bump.
...
From-SVN: r69868
2003-07-28 00:16:06 +00:00
GCC Administrator
404edd110e
Daily bump.
...
From-SVN: r69840
2003-07-27 00:16:07 +00:00
GCC Administrator
037af9d77b
Daily bump.
...
From-SVN: r69805
2003-07-26 00:16:07 +00:00
Benjamin Kosnik
e884d397fb
char_traits.h: Update copyright, tweak.
...
2003-07-25 Benjamin Kosnik <bkoz@redhat.com>
* include/bits/char_traits.h: Update copyright, tweak.
* testsuite/ext/pod_char_traits.cc: Explicitly qualify namespace
std types.
From-SVN: r69792
2003-07-25 16:36:01 +00:00
Benjamin Kosnik
b66ea7d48d
char_traits.h: Update copyright, tweak.
...
2003-07-25 Benjamin Kosnik <bkoz@redhat.com>
* include/bits/char_traits.h: Update copyright, tweak.
* testsuite/ext/pod_char_traits.cc: Explicitly qualifiy namespace
std types.
From-SVN: r69791
2003-07-25 16:35:39 +00:00
Matt Austern
d5ff4e3f11
char_traits.h (class char_traits): Put all the real work into the new class template __gnu_cxx::char_traits.
...
* /include/bits/char_traits.h (class char_traits): Put all the
real work into the new class template __gnu_cxx::char_traits.
Gave generic definitions for member functions. Types are taken
from the new class template __gnu_cxx::_Char_types.
* testsuite/21_strings/char_traits/requirements/short/1.cc: New
file. Test of std::char_traits<short>, which serves as a test of
the char_traits primary template.
From-SVN: r69772
2003-07-25 05:32:23 +00:00
GCC Administrator
c60ab83164
Daily bump.
...
From-SVN: r69766
2003-07-25 00:16:07 +00:00
Benjamin Kosnik
aecf642c78
*: Change __gnu_cxx_test to __gnu_test.
...
2003-07-24 Benjamin Kosnik <bkoz@redhat.com>
* testsuite/*: Change __gnu_cxx_test to __gnu_test.
From-SVN: r69761
2003-07-24 21:08:03 +00:00
Nathan Myers
d7541133fe
map_operators.cc: Conform to container requirement as value must be Assignable.
...
2003-07-24 Nathan Myers <ncm-nospam@cantrip.org>
* testsuite/23_containers/map_operators.cc: Conform to
container requirement as value must be Assignable.
From-SVN: r69746
2003-07-24 16:40:09 +00:00
GCC Administrator
9d2a10573b
Daily bump.
...
From-SVN: r69732
2003-07-24 00:16:07 +00:00
Alexandre Oliva
118545ec26
acinclude.m4 (GLIBCXX_ENABLE_PCH): Rework test such that it tests not only generation of pch files, but also their use.
...
* acinclude.m4 (GLIBCXX_ENABLE_PCH): Rework test such that it
tests not only generation of pch files, but also their use.
* aclocal.m4, configure: Rebuilt.
From-SVN: r69727
2003-07-23 21:41:01 +00:00
Steve Ellcey
ff89cb01b7
atomicity.h: Change _GLIBCXX_INST_GLIBCXX_ATOMICITY_LOCK to _GLIBCXX_INST_ATOMICITY_LOCK to...
...
* config/cpu/hppa/atomicity.h: Change
_GLIBCXX_INST_GLIBCXX_ATOMICITY_LOCK to _GLIBCXX_INST_ATOMICITY_LOCK
to match misc-inst.cc
From-SVN: r69720
2003-07-23 21:17:43 +00:00
Steve Ellcey
1143680eca
cmath.tcc: Use _GLIBCXX_ prefix on file guard.
...
* include/c_std/cmath.tcc: Use _GLIBCXX_ prefix on file guard.
* include/c_std/std_cctype.h: Ditto.
* include/c_std/std_cerrno.h: Ditto.
* include/c_std/std_cfloat.h: Ditto.
* include/c_std/std_climits.h: Ditto.
* include/c_std/std_clocale.h: Ditto.
* include/c_std/std_cmath.h: Ditto.
* include/c_std/std_csetjmp.h: Ditto.
* include/c_std/std_csignal.h: Ditto.
* include/c_std/std_cstdarg.h: Ditto.
* include/c_std/std_cstddef.h: Ditto.
* include/c_std/std_cstdio.h: Ditto.
* include/c_std/std_cstdlib.h: Ditto.
* include/c_std/std_cstring.h: Ditto.
* include/c_std/std_ctime.h: Ditto.
* include/c_std/std_cwchar.h: Ditto.
* include/c_std/std_cwctype.h: Ditto.
* include/std/std_algorithm.h: Ditto.
* include/std/std_bitset.h: Ditto.
* include/std/std_complex.h: Ditto.
* include/std/std_deque.h: Ditto.
* include/std/std_fstream.h: Ditto.
* include/std/std_functional.h: Ditto.
* include/std/std_iomanip.h: Ditto.
* include/std/std_ios.h: Ditto.
* include/std/std_iosfwd.h: Ditto.
* include/std/std_iostream.h: Ditto.
* include/std/std_istream.h: Ditto.
* include/std/std_iterator.h: Ditto.
* include/std/std_limits.h: Ditto.
* include/std/std_list.h: Ditto.
* include/std/std_locale.h: Ditto.
* include/std/std_map.h: Ditto.
* include/std/std_memory.h: Ditto.
* include/std/std_numeric.h: Ditto.
* include/std/std_ostream.h: Ditto.
* include/std/std_queue.h: Ditto.
* include/std/std_set.h: Ditto.
* include/std/std_sstream.h: Ditto.
* include/std/std_stack.h: Ditto.
* include/std/std_stdexcept.h: Ditto.
* include/std/std_streambuf.h: Ditto.
* include/std/std_string.h: Ditto.
* include/std/std_utility.h: Ditto.
* include/std/std_valarray.h: Ditto.
* include/std/std_vector.h: Ditto.
From-SVN: r69705
2003-07-23 15:28:44 +00:00
GCC Administrator
78ace45e99
Daily bump.
...
From-SVN: r69693
2003-07-23 00:16:06 +00:00
Doug Gregor
3988d17951
basic_string.h (basic_string::insert): Deprecate GNU extension.
...
* include/bits/basic_string.h (basic_string::insert): Deprecate
GNU extension.
From-SVN: r69677
2003-07-22 17:57:50 +00:00
GCC Administrator
32d0e51b54
Daily bump.
...
From-SVN: r69656
2003-07-22 00:16:08 +00:00
Benjamin Kosnik
5dfda04264
testsuite_flags.in (--build-includes): Remove extraneous paths for libio.
...
2003-07-21 Benjamin Kosnik <bkoz@redhat.com>
* scripts/testsuite_flags.in (--build-includes): Remove extraneous
paths for libio.
* testsuite/27_io/basic_istream/sentry/char/3983-fstream.cc
(test03): Include typeinfo for bad_cast.
* testsuite/27_io/basic_ostream/sentry/char/3983-sstream.cc: Same.
* testsuite/27_io/basic_ostream/sentry/char/3983-fstream.cc: Same.
* testsuite/27_io/basic_istream/sentry/char/3983-sstream.cc: Same.
From-SVN: r69651
2003-07-21 22:12:53 +00:00
Doug Gregor
f345c6b522
* include/bits/boost_concept_check.h:
...
(_EqualityComparableConcept::__constraints): Remove != from the
list of constraints; it is not listed in Table 28 of the C++98
standard.
From-SVN: r69636
2003-07-21 17:12:09 +00:00
GCC Administrator
0292e50e95
Daily bump.
...
From-SVN: r69618
2003-07-21 00:16:07 +00:00
GCC Administrator
cee89b1964
Daily bump.
...
From-SVN: r69599
2003-07-20 00:16:07 +00:00
GCC Administrator
3b1eae7b3b
Daily bump.
...
From-SVN: r69575
2003-07-19 00:16:07 +00:00
Andreas Jaeger
580e7bf3a8
Fix last checkin to commit right version of file.
...
From-SVN: r69560
2003-07-18 15:24:44 +02:00
Andreas Jaeger
2d5f9af2bf
baseline_symbols.txt: New file.
...
* config/abi/sparc-linux-gnu/baseline_symbols.txt: New file.
* config/abi/mips-linux-gnu/baseline_symbols.txt: New file.
* config/abi/hppa-linux-gnu/baseline_symbols.txt: New file.
* config/abi/x86_64-linux-gnu/baseline_symbols.txt: Regenerated.
[[Split portion of a mixed commit.]]
From-SVN: r69550.2
2003-07-18 11:55:30 +02:00
Andreas Jaeger
c3f2c61e60
baseline_symbols.txt: New file.
...
* config/abi/sparc-linux-gnu/baseline_symbols.txt: New file.
* config/abi/mips-linux-gnu/baseline_symbols.txt: New file.
* config/abi/hppa-linux-gnu/baseline_symbols.txt: New file.
* config/abi/x86_64-linux-gnu/baseline_symbols.txt: Regenerated.
From-SVN: r69548
2003-07-18 11:50:41 +02:00
Benjamin Kosnik
fea4065dda
linker-map.gnu: Add __moneypunct_cache, __timepunct_cache.
...
2003-07-17 Benjamin Kosnik <bkoz@redhat.com>
* config/linker-map.gnu: Add __moneypunct_cache, __timepunct_cache.
* config/locale/generic/messages_members.h: Tweaks.
* config/locale/generic/monetary_members.cc
(moneypunct::_M_initialize_moneypunct): Use cache.
(moneypunct::~moneypunct): Delete cache.
* config/locale/generic/time_members.cc:
(__timepunct::_M_initialize_timepunct): Use cache.
* config/locale/generic/time_members.h:
(__timepunct::~__timepunct): Delete cache.
(__timepunct::__timepunct): Set cache.
* config/locale/gnu/messages_members.h: Tweaks.
* config/locale/gnu/monetary_members.cc:
(moneypunct::_M_initialize_moneypunct): Use cache.
(moneypunct::~moneypunct): Delete cache.
* config/locale/gnu/time_members.cc:
(__timepunct::_M_initialize_timepunct): Use cache.
* config/locale/gnu/time_members.h:
(__timepunct::~__timepunct): Delete cache.
(__timepunct::__timepunct): Set cache.
* include/bits/locale_facets.h (__timepunct_cache): New.
(__moneypunct_cache): New.
* include/bits/locale_facets.tcc: Tweak.
* src/locale.cc (__timepunct::_S_timezones): Adjust for cache.
* src/locale-inst.cc: Instantiate caches.
* src/globals.cc: Add "C" caches.
* src/localename.cc: Use external "C" caches.
From-SVN: r69535
2003-07-18 02:27:16 +00:00
GCC Administrator
35c77862c9
Daily bump.
...
From-SVN: r69531
2003-07-18 00:16:08 +00:00
Phil Edwards
83a279e492
guide.html: Fix typo.
...
2003-07-17 Phil Edwards <pme@gcc.gnu.org>
* docs/doxygen/guide.html: Fix typo.
From-SVN: r69512
2003-07-17 15:31:20 +00:00
Benjamin Kosnik
db5eed1873
pod_char_traits.h: Add state template argument.
...
2003-07-16 Benjamin Kosnik <bkoz@redhat.com>
* include/ext/pod_char_traits.h: Add state template argument.
From-SVN: r69492
2003-07-17 04:01:28 +00:00
Benjamin Kosnik
7942afdca2
locale_facets.h (__num_base::_S_atoms_in): Add -+xX.
...
2003-07-16 Benjamin Kosnik <bkoz@redhat.com>
* include/bits/locale_facets.h (__num_base::_S_atoms_in): Add -+xX.
(num_get::_M_convert_int): To _M_insert_int.
(num_get::_M_convert_float): To _M_insert_float.
* include/bits/locale_facets.tcc (num_get::_M_extract_float):
Use caches for ctype, num_get.
(num_get::_M_extract_int): Same.
(num_get::get(bool)): Same.
(__verify_grouping): Use size_t.
* src/locale-inst.cc: Update.
* src/locale.cc: Adjust _S_atoms_in.
From-SVN: r69491
2003-07-17 01:54:44 +00:00
GCC Administrator
1129e7f414
Daily bump.
...
From-SVN: r69487
2003-07-17 00:16:06 +00:00
Phil Edwards
1ef4a5d4c3
mainpage.html: Move building/writing instructions...
...
2003-07-16 Phil Edwards <pme@gcc.gnu.org>
* docs/doxygen/mainpage.html: Move building/writing instructions...
* docs/doxygen/guide.html: ...to here. New file.
From-SVN: r69485
2003-07-16 23:59:54 +00:00
Jonathan Wakely
dced0d12fb
howto.html: Update URL for SGI STL docs.
...
2003-07-16 Jonathan Wakely <redi@gcc.gnu.org>
* docs/html/ext/howto.html: Update URL for SGI STL docs.
* docs/html/faq/index.html: Same.
* docs/html/faq/index.txt: Regenerate.
From-SVN: r69463
2003-07-16 18:06:36 +01:00
Paolo Carlini
e50344b919
re PR libstdc++/11528 (money_get does not get "$.00")
...
2003-07-16 Paolo Carlini <pcarlini@unitus.it>
PR libstdc++/11528
* include/bits/locale_facets.tcc (money_get::do_get):
Strip only _leading_ zeros.
* testsuite/22_locale/money_get/get/char/11528.cc: Add.
* testsuite/22_locale/money_get/get/wchar_t/11528.cc: Add.
From-SVN: r69458
2003-07-16 16:12:47 +00:00
Gerald Pfeifer
94b7906a3a
hash_map (class hash_multimap): Remove extra semicolons from __glibcxx_class_requires3 entries.
...
* include/ext/hash_map (class hash_multimap): Remove extra
semicolons from __glibcxx_class_requires3 entries.
* include/ext/hash_set (class hash_set): Ditto.
(class hash_multiset): Ditto.
From-SVN: r69451
2003-07-16 14:23:08 +00:00
GCC Administrator
e27668301c
Daily bump.
...
From-SVN: r69429
2003-07-16 00:16:08 +00:00
Petur Runolfsson
73a530bdcc
char_traits.h (char_traits<wchar_t>::move): Change last parameter from int_type to size_t.
...
2003-07-15 Petur Runolfsson <peturr02@ru.is>
* include/bits/char_traits.h (char_traits<wchar_t>::move):
Change last parameter from int_type to size_t.
From-SVN: r69415
2003-07-15 17:30:10 +00:00
Jerry Quinn
119dbb1fce
stl_algo.h (includes, [...]): Document.
...
2003-07-15 Jerry Quinn <jlquinn@optonline.net>
* include/bits/stl_algo.h (includes, set_union, set_intersection,
set_difference, set_symmetric_difference, max_element, min_element,
next_permutation, prev_permutation, find_first_of, find_end):
Document.
* include/bits/stl_algobase.h (copy,copy_backward): Clarify overlap
restrictions in docs.
* include/bits/stl_heap.h (push_heap, pop_heap, make_heap, sort_heap):
Document.
* docs/doxygen/doxygroups.cc (setoperations): New group.
From-SVN: r69387
2003-07-15 07:30:29 +00:00
Jerry Quinn
284f19bf17
basic_string.h: Document public functions.
...
2003-07-15 Jerry Quinn <jlquinn@optonline.net>
* include/bits/basic_string.h: Document public functions.
* docs/doxygen/TODO: Update c21 todo.
From-SVN: r69386
2003-07-15 07:02:40 +00:00
Jerry Quinn
709e7c9f87
stl_list.h: Document more functions.
...
2003-07-15 Jerry Quinn <jlquinn@optonline.net>
* include/bits/stl_list.h: Document more functions.
* docs/doxygen/TODO: Update c23 todo.
From-SVN: r69385
2003-07-15 06:15:57 +00:00
GCC Administrator
b9ce931dbe
Daily bump.
...
From-SVN: r69368
2003-07-15 00:16:07 +00:00
Paolo Carlini
f45e487d76
c_locale.h (__convert_from_v): One more qualification.
...
2003-07-14 Paolo Carlini <pcarlini@unitus.it>
* config/locale/gnu/c_locale.h (__convert_from_v): One more
qualification.
From-SVN: r69353
2003-07-14 20:24:18 +00:00
Paolo Carlini
f088510d96
stl_tempbuf.h: Qualify free with std::.
...
2003-07-14 Paolo Carlini <pcarlini@unitus.it>
* include/bits/stl_tempbuf.h: Qualify free with std::.
* src/locale.cc: Include <cstdlib>, qualify getenv.
From-SVN: r69347
2003-07-14 20:14:49 +00:00
Paolo Carlini
2def5b76e3
c_locale.h (__convert_from_v): Include <cstdio>.
...
2003-07-14 Paolo Carlini <pcarlini@unitus.it>
* config/locale/gnu/c_locale.h (__convert_from_v): Include
<cstdio>. Qualify names.
* config/locale/generic/c_locale.h (__convert_from_v): Ditto.
From-SVN: r69343
2003-07-14 19:46:29 +00:00
Paolo Carlini
bda243ec50
Nathan C.
...
2003-07-14 Paolo Carlini <pcarlini@unitus.it>
Nathan C. Myers <ncm-nospam@cantrip.org>
PR libstdc++/11378
* include/std/std_fstream.h (xsputn): Declare only.
* include/bits/fstream.tcc (xsputn): Define, optimize for the
always_noconv() case: when __n is sufficiently large flush
the buffer and issue a direct write, if possible combining the
two with writev in __basic_file<>::xsputn_2.
* config/io/basic_file_stdio.h (__basic_file<>::xsputn_2):
New, declare.
* config/io/basic_file_stdio.cc (__basic_file<>::xsputn_2):
Define.
* acinclude.m4 (GLIBCXX_CHECK_WRITE): New macro, checking for
the availability of writev in <sys/uio.h>.
* configure.in: Call here.
* acconfig.h: Add undef for the corresponding symbol.
* aclocal.m4: Regenerate.
* configure: Regenerate.
* config.h.in: Regenerate.
* testsuite/27_io/basic_filebuf/setbuf/char/3.cc: Tweak.
* include/std/std_fstream.h (sync): Constify a variable.
Co-Authored-By: Nathan C. Myers <ncm-nospam@cantrip.org>
From-SVN: r69341
2003-07-14 18:23:12 +00:00
Benjamin Kosnik
c573d965f9
assign_neg.cc: Fix line numbers.
...
2003-07-14 Benjamin Kosnik <bkoz@redhat.com>
* testsuite/27_io/ios_base/cons/assign_neg.cc: Fix line numbers.
* testsuite/27_io/ios_base/cons/copy_neg.cc: Same.
From-SVN: r69331
2003-07-14 14:47:03 +00:00
Gabriel Dos Reis
3ad249b9c7
Include <cstring> and <cstdlib>.
...
From-SVN: r69329
2003-07-14 13:32:26 +00:00
Mark Mitchell
f2ffecb112
c_locale.h: Include <cstdlib> and <cstring>.
...
* config/locale/generic/c_locale.h: Include <cstdlib> and
<cstring>.
* include/bits/boost_concept_check.h: Add this-> to unqualified
method calls.
* include/bits/deque.tcc: Likewise.
* include/bits/locale_facets.h : Likewise.
* include/bits/ostream.tcc: Likewise.
* include/bits/stl_algo.h: Likewise.
* include/bits/stl_bvector.h: 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/rope: Likewise.
* include/ext/ropeimpl.h: Likewise.
* include/ext/stdio_filebuf.h: Likewise.
From-SVN: r69315
2003-07-14 02:52:05 +00:00
GCC Administrator
dcad9c8559
Daily bump.
...
From-SVN: r69311
2003-07-14 00:16:09 +00:00
GCC Administrator
4284a08d87
Daily bump.
...
From-SVN: r69281
2003-07-13 00:16:06 +00:00
GCC Administrator
76d558c0bd
Daily bump.
...
From-SVN: r69259
2003-07-12 00:16:07 +00:00
Jerry Quinn
e2fcbaa3e4
basic_ios.h (copyfmt): Document.
...
2003-07-11 Jerry Quinn <jlquinn@optonline.net>
* include/bits/basic_ios.h (copyfmt): Document.
* include/bits/ios_base.h (event, event_callback, register_callback,
xalloc, iword, pword): Document.
(imbue, ~ios_base): Update docs on callbacks.
From-SVN: r69235
2003-07-11 14:25:09 +00:00
Phil Edwards
204956e6f7
Missed one spot from the previous change.
...
From-SVN: r69213
2003-07-11 04:32:25 +00:00
Phil Edwards
58579a27aa
acinclude.m4 (GLIBCC_ENABLE_SYMVERS): Tweak comments.
...
2003-07-11 Phil Edwards <pme@gcc.gnu.org>
* acinclude.m4 (GLIBCC_ENABLE_SYMVERS): Tweak comments. Add
warning messages if the environment cannot support symbol versioning.
(port_specific_symbol_file): It's plural, add an 's' on the end.
* configure.host: Likewise.
* src/Makefile.am: Likewise.
* config/linker-map.gnu: Remove one semicolon, heh.
* scripts/extract_symvers: Don't assume useful 'export' syntax.
Set LANG as well as LC_ALL for possibly-broken sort(1)s.
* aclocal.m4, configure, src/Makefile.in: Regenerated.
From-SVN: r69212
2003-07-11 04:04:49 +00:00
GCC Administrator
bd7d241486
Daily bump.
...
From-SVN: r69207
2003-07-11 00:16:07 +00:00
Benjamin Kosnik
cde6384093
locale_facets.tcc: Use function object for __use_cache instead of template function.
...
2003-07-09 Benjamin Kosnik <bkoz@redhat.com>
* include/bits/locale_facets.tcc: Use function object for
__use_cache instead of template function. Partially specialize for
__numpunct<_CharT>.
* include/bits/locale_classes.h: Update friend declaration for
__use_cache.
(_M_install_cache): No throw exception specs.
* src/locale.cc: Remove __use_cache specializations.
* include/ext/pod_char_traits.h (length): Tweak.
* include/bits/locale_facets.h (__numpunct_cache): Remove
char_type typedef.
* testsuite/testsuite_hooks.h (pod_unsigned_int): Remove.
(pod_long): Remove.
* testsuite/22_locale/numpunct/members/char/cache_1.cc: New.
* testsuite/22_locale/numpunct/members/char/cache_2.cc: New.
* testsuite/22_locale/numpunct/members/wchar_t/cache_1.cc: New.
* testsuite/22_locale/numpunct/members/wchar_t/cache_2.cc: New.
* testsuite/22_locale/numpunct/members/pod/1.cc: New.
* testsuite/22_locale/numpunct/members/pod/2.cc: New.
From-SVN: r69177
2003-07-10 06:21:13 +00:00
Jerry Quinn
e7f042e4cd
ios.cc (_M_grow_words): Fix spelling.
...
2003-07-09 Jerry Quinn <jlquinn@optonline.net>
* src/ios.cc (_M_grow_words): Fix spelling.
From-SVN: r69168
2003-07-10 03:08:38 +00:00
GCC Administrator
a1188b984f
Daily bump.
...
From-SVN: r69163
2003-07-10 00:16:06 +00:00
Gawain Bolton
ca1c70118c
stl_tree.h: Move larger member functions in _Rb_tree_base_iterator and _Rb_tree_node to...
...
2003-07-09 Gawain Bolton <gp.bolton@computer.org>
* include/bits/stl_tree.h: Move larger member functions in
_Rb_tree_base_iterator and _Rb_tree_node to...
* src/stl_tree.cc: Here.
* src/Makefile.in: Add stl_tree.cc.
* src/Makefile.in: Regenerated.
* config/linker-map.gnu: Add symbols here.
From-SVN: r69150
2003-07-09 20:58:32 +00:00
Benjamin Kosnik
9e7facfd47
pod_char_traits.cc: New.
...
2003-07-08 Benjamin Kosnik <bkoz@redhat.com>
* testsuite/ext/pod_char_traits.cc: New.
* include/ext/pod_char_traits.h: New.
* include/Makefile.am (ext_headers): Add pod_char_traits.h.
* include/Makefile.in: Regenerate.
* docs/html/21_strings/howto.html: Update.
From-SVN: r69115
2003-07-09 00:40:29 +00:00
GCC Administrator
518ed319bd
Daily bump.
...
From-SVN: r69109
2003-07-09 00:16:05 +00:00
Gawain Bolton
e55dc371ca
list_create_fill_sort.cc: New.
...
2003-07-08 Gawain Bolton <gp.bolton@computer.org>
* testsuite/performance/list_create_fill_sort.cc: New.
From-SVN: r69105
2003-07-08 21:33:18 +00:00
Benjamin Kosnik
c094e9b948
numeric_members.cc: Correct type info.
...
2003-07-08 Benjamin Kosnik <bkoz@redhat.com>
* config/locale/generic/numeric_members.cc: Correct type info.
* config/locale/gnu/numeric_members.cc: Same.
* include/bits/locale_facets.h: Same.
* include/bits/char_traits.h: Correct spacing.
* src/locale.cc: Wrap to 80 col.
From-SVN: r69098
2003-07-08 20:25:39 +00:00
GCC Administrator
37bf2a13c5
Daily bump.
...
From-SVN: r69058
2003-07-08 00:16:06 +00:00
Paolo Carlini
a8784c4c8f
std_complex.h: Partially revert last changes: cmath functions must not be qualified.
...
2003-07-07 Paolo Carlini <pcarlini@unitus.it>
* include/std/std_complex.h: Partially revert last
changes: cmath functions must not be qualified.
From-SVN: r69040
2003-07-07 12:15:00 +00:00
GCC Administrator
9ca9944176
Daily bump.
...
From-SVN: r69025
2003-07-07 00:16:06 +00:00
Phil Edwards
313dd50435
acinclude.m4 (GLIBCXX_ENABLE_SYMVERS): Do not test for binutils 2.11 with globbing backport fix.
...
2003-07-06 Phil Edwards <pme@gcc.gnu.org>
* acinclude.m4 (GLIBCXX_ENABLE_SYMVERS): Do not test for binutils
2.11 with globbing backport fix.
* aclocal.m4, configure: Regenerated.
From-SVN: r69013
2003-07-06 20:30:55 +00:00
Paolo Carlini
6623b2f26d
std_fstream.h (xsputn): Don't call _M_destroy_pback...
...
2003-07-06 Paolo Carlini <pcarlini@unitus.it>
* include/std/std_fstream.h (xsputn): Don't call _M_destroy_pback:
if output is at all possible (!_M_reading), cannot be active.
* include/std/std_fstream.h: Tweak comments to doxygen style.
From-SVN: r69001
2003-07-06 11:24:43 +00:00
Paolo Carlini
391cfc4689
locale_classes.h: Fully qualify standard functions with std::, thus avoiding Koenig lookup.
...
2003-07-06 Paolo Carlini <pcarlini@unitus.it>
* include/bits/locale_classes.h: Fully qualify standard
functions with std::, thus avoiding Koenig lookup.
* include/bits/locale_facets.tcc: Likewise.
* src/locale.cc: Likewise.
* src/localename.cc: Likewise.
From-SVN: r68997
2003-07-06 09:37:11 +00:00
Phil Edwards
481668695a
allocator_traits.h: Fix doxygen markup.
...
2003-07-06 Phil Edwards <pme@gcc.gnu.org>
* include/bits/allocator_traits.h: Fix doxygen markup.
* include/ext/mt_allocator.h: Likewise.
From-SVN: r68994
2003-07-06 04:37:22 +00:00
Phil Edwards
aaa4a229ec
testsuite_hooks.h: Guard against a missing unlink().
...
2003-07-06 Phil Edwards <pme@gcc.gnu.org>
* testsuite/testsuite_hooks.h: Guard against a missing unlink().
From-SVN: r68993
2003-07-06 04:30:10 +00:00
Phil Edwards
e6b7a69ab6
acinclude.m4 (GLIBCXX_ENABLE_SYMVERS): Bump minimal version requirement.
...
2003-07-05 Phil Edwards <pme@gcc.gnu.org>
* acinclude.m4 (GLIBCXX_ENABLE_SYMVERS): Bump minimal version
requirement. Add port_specific_symbol_file variable.
* configure.host: Add docs for port_specific_symbol_file.
Clean up try_cpu block for x86.
* config/linker-map.gnu: No more "last symbol can't have a
semicolon" kaka. Add hook for port-specific symbols.
* src/Makefile.am: Remove trailing whitespace.
(libstdc++-symbol.ver): Detect the presence of port-specific
symbols, and add them accordingly.
* docs/html/17_intro/porting.texi: Bring up to date.
* src/Makefile.in, aclocal.m4, configure,
docs/html/17_intro/porting.html: Regenerated.
From-SVN: r68992
2003-07-06 04:07:36 +00:00
Phil Edwards
ac3d7b4413
create_testsuite_files: New file.
...
2003-07-05 Phil Edwards <pme@gcc.gnu.org>
* scripts/create_testsuite_files: New file.
* testsuite/Makefile.am (all-local, check-performance): Use it.
* testsuite/lib/libstdc++-v3-dg.exp (v3-computer-tests): Remove.
* testsuite/Makefile.in: Regenerated.
* testsuite/performance/filebuf_sputc.cc: Remove the temporary
files at the end.
* testsuite/performance/fstream_seek_write.cc: Likewise.
* testsuite/performance/ofstream_insert_float.cc: Likewise.
* testsuite/performance/ofstream_insert_int.cc: Likewise.
* testsuite/abi_check.cc (main): Nicer spacing in usage output.
From-SVN: r68988
2003-07-06 03:14:37 +00:00
Gawain Bolton
e3d51be281
stl_list.h: Performance and memory usage improvements.
...
2003-07-05 Gawain Bolton <gp.bolton@computer.org>
* include/bits/stl_list.h: Performance and memory usage
improvements.
* include/bits/list.tcc: Likewise.
From-SVN: r68987
2003-07-06 00:58:52 +00:00
GCC Administrator
a045c79405
Daily bump.
...
From-SVN: r68985
2003-07-06 00:16:06 +00:00
Paolo Carlini
eb9a423153
std_complex.h: Fully qualify standard functions with std::, thus avoiding Koenig lookup.
...
2003-07-05 Paolo Carlini <pcarlini@unitus.it>
* include/std/std_complex.h: Fully qualify standard
functions with std::, thus avoiding Koenig lookup.
* include/std/std_memory.h: Likewise.
* include/std/std_valarray.h: Likewise.
From-SVN: r68982
2003-07-05 20:44:17 +00:00
Gawain Bolton
f92c5313e1
stl_tree.h: _Rb_tree_rebalance(): Add local variable for grandparent and use const
...
2003-07-05 Gawain Bolton <gp.bolton@computer.org>
* include/bits/stl_tree.h: _Rb_tree_rebalance(): Add local
variable for grandparent and use const
From-SVN: r68977
2003-07-05 15:47:09 +00:00
David Billinghurst
8b87d3fa24
4879.cc: xfail on cygwin
...
2003-07-05 David Billinghurst <David.Billinghurst@riotinto.com>
* testsuite/27_io/basic_filebuf/close/char/4879.cc: xfail on cygwin
* testsuite/27_io/basic_filebuf/close/char/9964.cc: Ditto
* testsuite/27_io/basic_filebuf/open/char/9507.cc: Ditto
* testsuite/27_io/basic_filebuf/showmanyc/char/9533-1.cc: Ditto
* testsuite/27_io/basic_filebuf/underflow/char/10097.cc: Ditto
* testsuite/27_io/objects/char/7.cc: Ditto
* testsuite/27_io/objects/char/9661-1.cc: Ditto
From-SVN: r68970
2003-07-05 12:55:09 +00:00
Paolo Carlini
a8cad3e1dd
std_bitset.h: Fully qualify standard functions with std::, thus avoiding Koenig lookup.
...
2003-07-05 Paolo Carlini <pcarlini@unitus.it>
* include/std/std_bitset.h: Fully qualify standard
functions with std::, thus avoiding Koenig lookup.
* include/std/std_fstream.h: Change comment to doxygen style.
From-SVN: r68964
2003-07-05 08:18:58 +00:00
Phil Edwards
2778669a8f
std_limits.h: More CPP->CXX changes.
...
2003-07-05 Phil Edwards <pme@gcc.gnu.org>
* include/std/std_limits.h: More CPP->CXX changes.
* scripts/check_survey.in: Likewise.
From-SVN: r68960
2003-07-05 06:00:05 +00:00
Benjamin Kosnik
3d7c150e3f
Move from CPP to CXX.
...
2003-07-04 Benjamin Kosnik <bkoz@redhat.com>
Move from CPP to CXX.
* include/bits/c++config: Move to GLIBCXX from GLIBCPP.
* testsuite/Makefile.am: Same.
* testsuite/Makefile.in: Regenerate.
* po/Makefile.am: Same.
* po/Makefile.in: Regenerate.
* libsupc++/Makefile.am: Same.
* libsupc++/Makefile.in: Regenerate.
* libmath/Makefile.am: Same.
* libmath/Makefile.in: Regenerate.
* include/Makefile.am: Same.
* include/Makefile.in: Regenerate.
* src/Makefile.am: Same.
* src/Makefile.in: Regenerate.
* acconfig.h: Same.
* configure.host: Same.
* configure.in: Same.
* configure: Regenerate.
* acinclude.m4: Same.
* aclocal.m4: Same.
* src: Change all files in this directory.
* testsuite: Same.
* include: Same, standardize include guards.
* config: Same.
* libsupc++: Same.
From-SVN: r68958
2003-07-05 04:05:45 +00:00
Zack Weinberg
e6cc3a24c2
cpplib.h (CPP_AT_NAME, [...]): New token types.
...
* cpplib.h (CPP_AT_NAME, CPP_OBJC_STRING): New token types.
(struct cpp_options): Add narrow_charset, wide_charset,
bytes_big_endian fields. Remove EBCDIC field.
(cpp_init_iconv, cpp_interpret_string): New external interfaces.
* cpphash.h: Include <iconv.h> if we have it, otherwise
provide a dummy definition of iconv_t.
(struct cpp_reader): Add narrow_cset_desc and wide_cset_desc fields.
(_cpp_valid_ucn): Update prototype.
(_cpp_destroy_iconv): New prototype.
* doc/cpp.texi: Document character set handling.
* doc/cppopts.texi: Document -fexec-charset= and -fexec-wide-charset=.
* doc/extend.texi: Delete entire section on multiline strings.
Rewrite section on __FUNCTION__ etc now that these are
variables in C.
* cppucnid.tab, cppucnid.pl: New files.
* cppucnid.h: New generated file.
* cppcharset.c: Include cppucnid.h. Lots of commentary added.
(iconv_open, iconv, iconv_close): Provide dummy definitions
if !HAVE_ICONV.
(SOURCE_CHARSET, struct strbuf, init_iconv_desc, cpp_init_iconv,
_cpp_destroy_iconv, convert_cset, width_to_mask, convert_ucn,
emit_numeric_escape, convert_hex, convert_oct, convert_escape,
cpp_interpret_string, narrow_str_to_charconst,
wide_str_to_charconst): New.
(ucn_valid_in_identifier): Use a binary search through the
ucnranges table defined in cppucnid.h, not a long chain of if
statements.
(_cpp_valid_ucn): Add a limit pointer. Downgrade "universal
character names are only valid in C++ and C99" to a warning.
Issue the "meaning of \[uU] is different in traditional C"
warning here. Take care not to let iconv see an invalid UCS
value if we get a malformed UCN. Issue an error if we don't
have iconv.
(cpp_interpret_charconst): Moved here from cpplex.c. Use
cpp_interpret_string to do the heavy lifting.
* cppinit.c (cpp_create_reader): Initialize bytes_big_endian,
narrow_charset, wide_charset fields of options structure.
(cpp_destroy): Call _cpp_destroy_iconv.
* cpplex.c (forms_identifier_p): Adjust call to _cpp_valid_ucn.
(maybe_read_ucn, hex_digit_value, cpp_parse_escape): Delete.
(cpp_interpret_charconst): Moved to cppcharset.c.
* cpplib.c (dequote_string): Delete.
(interpret_string_notranslate): New.
(do_line, do_linemarker): Use interpret_string_notranslate.
* Makefile.in (cppcharset.o): Depend on cppucnid.h.
* c-common.c (fname_string, combine_strings): Delete.
* c-common.h (fname_string, combine_strings): Delete prototypes.
* c-lex.c (ignore_escape_flag): Delete.
(cb_ident): Use cpp_interpret_string, not lex_string.
(get_nonpadding_token): New function.
(c_lex): Handle Objective-C @-prefixed identifiers and strings here.
Adjust calls to lex_string. Don't write *value twice.
(lex_string): Now handles string constant concatenation.
Most of the work handed off to cpp_interpret_string.
Call fix_string_type here.
* c-parse.in (STRING_FUNC_NAME, VAR_FUNC_NAME): Replace with
FUNC_NAME, throughout.
(OBJC_STRING): New token type.
(primary:STRING): No need to call fix_string_type here.
(primary:objc_string): Make that OBJC_STRING.
(objc_string nonterminal): Delete.
(yylexname): Delete code to handle fake string constants.
(yylexstring): Delete entirely.
(_yylex): Handle CPP_AT_NAME and CPP_OBJC_STRING. No need
to handle CPP_ATSIGN.
* c.opt (-fexec-charset=, -fwide-exec-charset=): New options.
* c-opts.c (missing_arg, c_common_handle_option): Handle
OPT_fexec_charset_ and OPT_fwide_exec_charset_.
(c_common_init): Set cpp_opts->bytes_big_endian, not
cpp_opts->EBCDIC. Call cpp_init_iconv.
(print_help): Document -fexec-charset= and -fexec-wide-charset=.
(TARGET_EBCDIC): Delete default definition.
* objc/objc-act.c (build_objc_string_object): No need to
handle string constant concatenation.
cp:
* parser.c (cp_lexer_read_token): No need to handle string
constant concatenation.
testsuite:
* gcc.c-torture/execute/wchar_t-1.x: New file; XFAIL wchar_t-1.c
everywhere.
* gcc.dg/concat.c: Concatenation of string constants with
__FUNCTION__ / __PRETTY_FUNCTION__ is now a hard error.
* gcc.dg/wtr-strcat-1.c: Loosen dg-warning regexp.
* gcc.dg/cpp/escape-2.c: Use wide character constants where
necessary to avoid multi-character character constant warning.
* gcc.dg/cpp/escape.c: Likewise.
* gcc.dg/cpp/ucs.c: Likewise.
Remove backslashes from dg-bogus comments, as they confuse Tcl.
Fix a typo.
libstdc++-v3:
* testsuite/22_locale/collate/compare/wchar_t/2.cc
* testsuite/22_locale/collate/compare/wchar_t/wrapped_env.cc
* testsuite/22_locale/collate/compare/wchar_t/wrapped_locale.cc
* testsuite/22_locale/collate/hash/wchar_t/2.cc
* testsuite/22_locale/collate/hash/wchar_t/wrapped_env.cc
* testsuite/22_locale/collate/hash/wchar_t/wrapped_locale.cc
* testsuite/22_locale/collate/transform/wchar_t/2.cc
* testsuite/22_locale/collate/transform/wchar_t/wrapped_env.cc
* testsuite/22_locale/collate/transform/wchar_t/wrapped_locale.cc:
XFAIL on all targets.
From-SVN: r68952
2003-07-05 00:24:00 +00:00
GCC Administrator
802491c002
Daily bump.
...
From-SVN: r68949
2003-07-05 00:16:06 +00:00