gcc/libstdc++-v3/ChangeLog

799 lines
33 KiB
Plaintext
Raw Normal View History

2003-02-04 Paolo Carlini <pcarlini@unitus.it>
PR libstdc++/9538
* include/bits/streambuf.tcc (sputbackc): Access
this->gptr()[-1] only if _M_in_beg < _M_in_cur.
* testsuite/27_io/filebuf_virtuals.cc (test08): Add.
2003-02-04 Paolo Carlini <pcarlini@unitus.it>
PR libstdc++/9507
* include/bits/fstream.tcc (open): If the 'ate' repositioning
operation fails, calls close _and_ returns a null pointer
to indicate failure (27.8.1.3,4).
* testsuite/27_io/filebuf_members.cc (test_06): Add.
2003-02-04 Petur Runolfsson <peturr02@ru.is>
* testsuite/27_io/filebuf_members.cc (test_04): Remove exit(0).
2002-02-04 Jonathan Wakely <redi@gcc.gnu.org>
* docs/html/27_io/howto.html: New section on stdio_filebuf.
* docs/html/ext/howto.html: Move stdio_filebuf notes to 27_io.
* docs/html/documentation.html: Regenerate.
2003-02-04 Joseph S. Myers <jsm@polyomino.org.uk>
* docs/html/17_intro/porting.texi: Update to GFDL 1.2.
* docs/html/17_intro/porting.html: Regenerate.
2003-02-03 Falk Hueffner <falk.hueffner@student.uni-tuebingen.de>
Phil Edwards <pme@gcc.gnu.org>
* include/std/std_bitset.h: Replace CHAR_BIT with __CHAR_BIT__, use
numeric_limits for bits-per-word values.
(_Base_bitset::_M_do_count, _Base_bitset<1>::_M_do_count):
Use __builtin_popcountl instead.
(_Base_bitset::_M_do_find_first, _Base_bitset::_M_do_find_next,
_Base_bitset<1>::_M_do_find_first, _Base_bitset<1>::_M_do_find_next):
Use __builtin_ctzl instead.
(_S_bit_count, _S_first_one): Remove.
* config/linker-map.gnu (GLIBCPP_3.4): Remove std::_S_bit_count.
* src/Makefile.am (sources): Remove bitset.cc.
* src/bitset.cc: Delete file.
* src/Makefile.in: Regenerate.
2003-02-03 Phil Edwards <pme@gcc.gnu.org>
PR libstdc++/9527, PR libstdc++/8713
* docs/html/install.html: Mention glibc version requirement.
* docs/html/faq/index.html (3.8): New note, glibc 2.2.5+ is needed
with 3.2.1+ (formatting bugfixes).
* docs/html/faq/index.txt: Regenerate.
2003-02-03 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
PR libstdc++/9234
* include/bits/valarray_before.h (_UnBase::operator[]): Apply unary
operator.
* include/bits/valarray_before.h (__not_equal_to): Use != instead of ==.
* testsuite/26_numerics/valarray_operators.cc: New test.
2003-02-01 Phil Edwards <pme@gcc.gnu.org>
* docs/html/faq/index.html: Correct link to libg++ information.
* docs/html/faq/index.txt: Regenerated.
2003-02-01 Paolo Carlini <pcarlini@unitus.it>
Benjamin Kosnik <bkoz@redhat.com>
Const correctness issue:
http://gcc.gnu.org/ml/libstdc++/2003-01/msg00370.html
* include/bits/locale_classes.h
(locale::_Impl::_M_facets): Change type to const facet**.
(locale::_Impl::_M_install_facet): Change declaration to
take const facet*.
(locale::facet::_M_references): Make mutable.
(locale::facet::_M_add_reference): Declare const.
(locale::facet::_M_remove_reference): Likewise.
* include/bits/locale_facets.tcc
(use_facet(const locale&)): Tweak for const facet** _M_facets.
(has_facet(const locale&)): Likewise.
* src/locale.cc
(locale::facet::_M_add_reference): Adjust definition.
(locale::facet::_M_remove_reference): Likewise.
* src/localename.cc
(locale::_Impl::_Impl(const _Impl&, size_t)): Tweak for
const facet** _M_facets.
(locale::_Impl::_Impl(const char*, size_t)): Likewise.
(locale::_Impl::_Impl(facet**, size_t, bool)): Likewise.
(locale::_Impl::_M_install_facet): Adjust definition to take
const facet* and for const facet** _M_facets.
* testsuite/22_locale/locale/cons/8.cc: Add.
c-common.c (builtin_define_float_constants): Define __<TYPE>_HAS_INFINITY__ and __<TYPE>_HAS_QUIET_NAN__. * c-common.c (builtin_define_float_constants): Define __<TYPE>_HAS_INFINITY__ and __<TYPE>_HAS_QUIET_NAN__. * call.c (build_field_call): Use build_new_op, not build_opfncall. (prep_operand): New function. (build_new_op): Use it. Remove dead code. * class.c (pushclass): Change "modify" parameter type from int to bool. (currently_open_class): Use same_type_p, not pointer equality. (push_nested_class): Adjust calls to pushclass, remove modify parameter. * cp-tree.h (INTEGRAL_OR_ENUMERATION_TYPE_P): New macro. (pushclass): Change prototype. (push_nested_class): Likewise. (grokoptypename): Remove. (build_opfncall): Remove. (value_dependent_expression_p): Declare. (resolve_typename_type): Likewise. (resolve_typename_type_in_current_instantiation): Likewise. (enter_scope_of): Remove. (tsubst): Remove. (tsubst_expr): Likewise. (tsubst_copy): Likewise. (tsubst_copy_and_build): Likewise. * decl.c (warn_about_implicit_typename_lookup): Remove. (finish_case_label): Return error_mark_node for erroneous labels. (start_decl): Adjust calls to push_nested_class. (grokfndecl): Call push_scope/pop_scope around call to duplicate_decls. (grokdeclarator): Do not call tsubst. (start_function): Adjust calls to push_nested_class. * decl2.c (grok_array_decl): Use build_new_op, not build_opfncall. (check_classfn): Use push_scope/pop_scope around type comparisions. (grokoptypename): Remove. (push_sscope): Adjust call to push_nested_class. * error.c (dump_type): Show cv-qualification of typename types. * init.c (build_member_call): Use build_new_op, not build_opfncall. * method.c (build_opfncall): Remove. * parser.c (cp_parser): Add allow_non_constant_expression_p and non_constant_expression_p. (cp_parser_constant_expression): Adjust prototype. (cp_parser_resolve_typename_type): Remove. (cp_parser_non_constant_expression): New function. (cp_parser_non_constant_id_expression): Likewise. (cp_parser_new): Set allow_non_constant_expression_p and non_constant_expression_p. (cp_parser_primary_expression): Reject `this' and `va_arg' in constant-expressions. Note that dependent names aren't really constant. (cp_parser_postfix_expression): Reject conversions to non-integral types in constant-expressions. Neither are increments or decrements. (cp_parser_unary_expression): Reject increments and decrements in constant-expressions. (cp_parser_direct_new_declarator): Adjust call to cp_parser_constant_expression. (cp_parser_cast_expression): Reject conversions to non-integral types in constant-expressions. (cp_parser_assignment_expression): Rejects assignments in constant-expressions. (cp_parser_expression): Reject commas in constant-expressions. (cp_parser_labeled_statement): Adjust call to cp_parser_constant_expression. (cp_parser_direct_declarator): Simplify array bounds, even in templates, when they are non-dependent. Use resolve_typename_type, not cp_parser_resolve_typename_type. (cp_parser_class_head): Use resolve_typename_type, not cp_parser_resolve_typename_type. (cp_parser_member_declaration): Adjust call to cp_parser_constant_expression. (cp_parser_constant_initializer): Likewise. (cp_parser_constructor_declarator): Use resolve_typename_type, not cp_parser_resolve_typename_type. (cp_parser_late_parsing_default_args): Adjust call to push_nested_class. * pt.c (tsubst): Give it internal linkage. (tsubst_expr): Likewise. (tsubst_copy): Likewise. (tsubst_copy_and_build): Likewise. (push_access_scope_real): Likewise. (tsubst_friend_class): Likewise. (instantiate_class_template): Adjust call to pushclass. (value_dependent_expression_p): Give it external linkage. Robustify. (resolve_typename_type): New function. * semantics.c (finish_call_expr): Use build_new_op, not build_opfncall. (begin_constructor_declarator): Remove. (begin_class_definition): Adjust call to pushclass. (enter_scope_of): Remove. * typeck.c (comptypes): Resolve typename types as appropriate. (build_x_indirect_ref): Use build_new_op, not build_opfncall. (build_x_compound_expr): Likewise. (build_modify_expr): Likewise. (build_x_modify_expr): Likewise. * typeck2.c (build_x_arrow): Likewise. * g++.dg/parser/constant1.C: New test. * include/std/std_limits.h (numeric_limits<float>::has_infinity): Use __FLT_HAS_INIFINITY__ to initialize. (numeric_limits<float>::has_quiet_NaN): Likewise. (numeric_limits<double>::has_infinity): Use __DBL_HAS_INIFINITY__ to initialize. (numeric_limits<double>::has_quiet_NaN): Likewise. (numeric_limits<long double>::has_infinity): Use __LDBL_HAS_INIFINITY__ to initialize. (numeric_limits<long_double>::has_quiet_NaN): Likewise. From-SVN: r62130
2003-01-30 08:24:02 +01:00
2003-01-29 Mark Mitchell <mark@codesourcery.com>
* include/std/std_limits.h (numeric_limits<float>::has_infinity):
Use __FLT_HAS_INIFINITY__ to initialize.
(numeric_limits<float>::has_quiet_NaN): Likewise.
(numeric_limits<double>::has_infinity): Use __DBL_HAS_INIFINITY__
to initialize.
(numeric_limits<double>::has_quiet_NaN): Likewise.
(numeric_limits<long double>::has_infinity): Use
__LDBL_HAS_INIFINITY__ to initialize.
(numeric_limits<long_double>::has_quiet_NaN): Likewise.
2003-01-28 Nathan Sidwell <nathan@codesourcery.com>
PR c++/9433
* libsupc++/tinfo.cc (__vmi_class_type_info::__do_dyncast): Cope
with bases which are very ambiguous.
2003-01-28 Danny Smith <dannysmith@users.sourceforge.net>
* src/Makefile.am (CONFIG_CXXFLAGS): Reverse order of
@EXTRA_CXX_FLAGS@ @SECTION_FLAGS@.
* libsupc++/Makefile.am (CONFIG_CXXFLAGS): Likewise.
* src/Makefile.in: Regenerate.
* libsupc++/Makefile.in: Regenerate.
2003-01-27 Alexandre Oliva <aoliva@redhat.com>
* acinclude.m4 (glibcpp_toolexeclibdir): Instead of
$(MULTISUBDIR), use `$CC -print-multi-os-directory`, unless
version_specific_libs is enabled.
* aclocal.m4, configure: Rebuilt.
2003-01-24 Nathan Sidwell <nathan@codesourcery.com>
* include/bits/valarray_meta.h: Remove, split into ...
* include/bits/valarray_before.h: ... this, and ...
* include/bits/valarray_after.h: ... this.
* include/std/std_valarray.h: Adjust.
* include/Makefile.am (bits_headers): Adjust.
* include/Makefile.in: Regenerate.
2003-01-24 Andreas Schwab <schwab@suse.de>
* config/linker-map.gnu: Fix for size_t variance.
2003-01-23 Petur Runolfsson <peturr02@ru.is>
PR libstdc++/9322
* include/std/std_streambuf.h
(basic_streambuf::basic_streambuf,
basic_streambuf::~basic_streambuf,
basic_streambuf::getloc, basic_streambuf::imbue):
Remove _M_buf_locale_init
* include/bits/fstream.tcc (basic_filebuf::imbue): Likewise
* testsuite/27_io/filebuf_virtuals.cc (test08): Add.
* testsuite/27_io/streambuf_members.cc (test08): Add.
* testsuite/27_io/stringbuf_virtuals.cc (test08): Add.
2003-01-23 Benjamin Kosnik <bkoz@redhat.com>
Revert include ordering.
* config/locale/generic/c_locale.h: Add include guards.
* config/locale/gnu/c_locale.h: Same.
* include/bits/locale_classes.h: Remove cctype include.
* include/std/std_iosfwd.h: Add c++locale.h, cctype includes.
* include/std/std_fstream.h: Remove streambuf include.
* include/std/std_sstream.h: Remove streambuf include.
2003-01-23 Benjamin Kosnik <bkoz@redhat.com>
* configure.in (libtool_VERSION): To 6:0:0.
* configure: Regenerated.
* config/linker-map.gnu: Clean.
* src/misc-inst.cc: Remove instantiations.
* include/bits/stl_alloc.h (__malloc_alloc_template):
To __malloc_alloc.
(__default_alloc_template): To __pool_alloc.
* src/stl-inst.cc: Same.
* include/backward/alloc.h: Update.
* testsuite/ext/allocators.cc: Update.
* src/globals.cc (__gnu_cxx): Remove _GLIBCPP_ASM_SYMVER. Should
really try to remove these if possible.
* src/locale.cc (std): Same.
* testsuite/abi_check.cc (check_version): Add.
2003-01-22 Benjamin Kosnik <bkoz@redhat.com>
Sysoltsev Slawa <Vyatcheslav.Sysoltsev@intel.com>
Mark Mitchell <mark@codesourcery.com>
PR libstdc++/9269
* include/std/std_fstream.h (basic_filebuf::uflow): Declare.
(basic_filebuf::underflow): Declare.
Move definitions.
2003-01-22 Benjamin Kosnik <bkoz@redhat.com>
* include/bits/locale_facets.h: Move non-facet classes requiring
<string> to...
* include/bits/locale_classes.h: New.
* include/bits/Makefile.am (bits_headers_src): Add locale_classes.h.
* include/bits/Makefile.in: Regenerate.
* include/bits/locale_facets.tcc (__convert_from_v): Move to...
* config/locale/gnu/c_locale.h: ...here.
* config/locale/generic/c_locale.h: Same.
* include/bits/locale_facets.tcc: Move declarations to...
* include/bits/locale_facets.h: ...here.
* include/bits/basic_ios.h: Tweak includes accordingly.
* include/std/std_sstream.h: Add streambuf include.
* include/std/std_fstream.h: Ditto.
* include/std/std_locale.h: Add locale_classes.h include.
* include/std/std_iosfwd.h: Tweak.
* src/concept-inst.cc: Add iterator include.
* config/linker-map.gnu: Specify __cxa functions, mark __cxa_dyn_*
bits as unexported in the future.
Reshuffle 22_locale testsuite. 2003-01-21 Benjamin Kosnik <bkoz@redhat.com> Reshuffle 22_locale testsuite. * 22_locale/(codecvt.cc money_get.cc codecvt_members_char_char.cc money_get_members_char.cc codecvt_members_unicode_char.cc money_get_members_wchar_t.cc codecvt_members_unicode_wchar_t.cc moneypunct_byname.cc codecvt_members_wchar_t_char.cc moneypunct.cc collate_byname.cc moneypunct_members_char.cc collate.cc moneypunct_members_wchar_t.cc collate_members_char.cc money_put.cc collate_members_wchar_t.cc money_put_members_char.cc ctor_copy_dtor.cc money_put_members_wchar_t.cc ctype.cc num_get.cc ctype_is_char.cc num_get_members_char.cc ctype_is_wchar_t.cc num_get_members_wchar_t.cc ctype_members_char.cc numpunct_byname.cc ctype_members_wchar_t.cc numpunct.cc ctype_narrow_char.cc numpunct_members_char.cc ctype_narrow_wchar_t.cc numpunct_members_wchar_t.cc ctype_scan_char.cc num_put.cc ctype_scan_wchar_t.cc num_put_members_char.cc ctype_to_char.cc num_put_members_wchar_t.cc ctype_to_wchar_t.cc operators.cc ctype_widen_char.cc static_members.cc ctype_widen_wchar_t.cc time_get.cc facet.cc time_get_members_char.cc global_templates.cc time_get_members_wchar_t.cc, members.cc, time_put.cc, messages_byname.cc, time_put_members_char.cc, messages.cc, time_put_members_wchar_t.cc, messages_members_char.cc): Splint up into individual test cases... * 22_locale/codecvt/1.cc: New. * 22_locale/codecvt/2.cc: New. * 22_locale/codecvt/always_noconv/char/1.cc: New. * 22_locale/codecvt/always_noconv/char/wrapped_env.cc: New. * 22_locale/codecvt/always_noconv/char/wrapped_locale.cc: New. * 22_locale/codecvt/always_noconv/wchar_t/1.cc: New. * 22_locale/codecvt/always_noconv/wchar_t/wrapped_env.cc: New. * 22_locale/codecvt/always_noconv/wchar_t/wrapped_locale.cc: New. * 22_locale/codecvt/encoding/char/1.cc: New. * 22_locale/codecvt/encoding/char/wrapped_env.cc: New. * 22_locale/codecvt/encoding/char/wrapped_locale.cc: New. * 22_locale/codecvt/encoding/wchar_t/1.cc: New. * 22_locale/codecvt/encoding/wchar_t/wrapped_env.cc: New. * 22_locale/codecvt/encoding/wchar_t/wrapped_locale.cc: New. * 22_locale/codecvt/in/char/1.cc: New. * 22_locale/codecvt/in/char/wrapped_env.cc: New. * 22_locale/codecvt/in/char/wrapped_locale.cc: New. * 22_locale/codecvt/in/wchar_t/1.cc: New. * 22_locale/codecvt/in/wchar_t/wrapped_env.cc: New. * 22_locale/codecvt/in/wchar_t/wrapped_locale.cc: New. * 22_locale/codecvt/length/char/1.cc: New. * 22_locale/codecvt/length/char/wrapped_env.cc: New. * 22_locale/codecvt/length/char/wrapped_locale.cc: New. * 22_locale/codecvt/length/wchar_t/1.cc: New. * 22_locale/codecvt/length/wchar_t/wrapped_env.cc: New. * 22_locale/codecvt/length/wchar_t/wrapped_locale.cc: New. * 22_locale/codecvt/max_length/char/1.cc: New. * 22_locale/codecvt/max_length/char/wrapped_env.cc: New. * 22_locale/codecvt/max_length/char/wrapped_locale.cc: New. * 22_locale/codecvt/max_length/wchar_t/1.cc: New. * 22_locale/codecvt/max_length/wchar_t/wrapped_env.cc: New. * 22_locale/codecvt/max_length/wchar_t/wrapped_locale.cc: New. * 22_locale/codecvt/out/char/1.cc: New. * 22_locale/codecvt/out/char/wrapped_env.cc: New. * 22_locale/codecvt/out/char/wrapped_locale.cc: New. * 22_locale/codecvt/out/wchar_t/1.cc: New. * 22_locale/codecvt/out/wchar_t/wrapped_env.cc: New. * 22_locale/codecvt/out/wchar_t/wrapped_locale.cc: New. * 22_locale/codecvt/unicode/char.cc: New. * 22_locale/codecvt/unicode/wchar_t.cc: New. * 22_locale/codecvt/unshift/char/1.cc: New. * 22_locale/codecvt/unshift/char/wrapped_env.cc: New. * 22_locale/codecvt/unshift/char/wrapped_locale.cc: New. * 22_locale/codecvt/unshift/wchar_t/1.cc: New. * 22_locale/codecvt/unshift/wchar_t/wrapped_env.cc: New. * 22_locale/codecvt/unshift/wchar_t/wrapped_locale.cc: New. * 22_locale/collate/1.cc: New. * 22_locale/collate/2.cc: New. * 22_locale/collate/compare/char/1.cc: New. * 22_locale/collate/compare/char/2.cc: New. * 22_locale/collate/compare/char/wrapped_env.cc: New. * 22_locale/collate/compare/char/wrapped_locale.cc: New. * 22_locale/collate/compare/wchar_t/1.cc: New. * 22_locale/collate/compare/wchar_t/2.cc: New. * 22_locale/collate/compare/wchar_t/wrapped_env.cc: New. * 22_locale/collate/compare/wchar_t/wrapped_locale.cc: New. * 22_locale/collate/hash/char/1.cc: New. * 22_locale/collate/hash/char/2.cc: New. * 22_locale/collate/hash/char/wrapped_env.cc: New. * 22_locale/collate/hash/char/wrapped_locale.cc: New. * 22_locale/collate/hash/wchar_t/1.cc: New. * 22_locale/collate/hash/wchar_t/2.cc: New. * 22_locale/collate/hash/wchar_t/wrapped_env.cc: New. * 22_locale/collate/hash/wchar_t/wrapped_locale.cc: New. * 22_locale/collate/transform/char/2.cc: New. * 22_locale/collate/transform/char/wrapped_env.cc: New. * 22_locale/collate/transform/char/wrapped_locale.cc: New. * 22_locale/collate/transform/wchar_t/2.cc: New. * 22_locale/collate/transform/wchar_t/wrapped_env.cc: New. * 22_locale/collate/transform/wchar_t/wrapped_locale.cc: New. * 22_locale/collate_byname/1.cc: New. * 22_locale/ctype/1.cc: New. * 22_locale/ctype/2.cc: New. * 22_locale/ctype/cons/char/1.cc: New. * 22_locale/ctype/cons/char/wrapped_env.cc: New. * 22_locale/ctype/cons/char/wrapped_locale.cc: New. * 22_locale/ctype/is/char/1.cc: New. * 22_locale/ctype/is/char/2.cc: New. * 22_locale/ctype/is/char/3.cc: New. * 22_locale/ctype/is/char/wrapped_env.cc: New. * 22_locale/ctype/is/char/wrapped_locale.cc: New. * 22_locale/ctype/is/wchar_t/1.cc: New. * 22_locale/ctype/is/wchar_t/2.cc: New. * 22_locale/ctype/is/wchar_t/wrapped_env.cc: New. * 22_locale/ctype/is/wchar_t/wrapped_locale.cc: New. * 22_locale/ctype/narrow/char/1.cc: New. * 22_locale/ctype/narrow/char/2.cc: New. * 22_locale/ctype/narrow/char/wrapped_env.cc: New. * 22_locale/ctype/narrow/char/wrapped_locale.cc: New. * 22_locale/ctype/narrow/wchar_t/1.cc: New. * 22_locale/ctype/narrow/wchar_t/2.cc: New. * 22_locale/ctype/narrow/wchar_t/wrapped_env.cc: New. * 22_locale/ctype/narrow/wchar_t/wrapped_locale.cc: New. * 22_locale/ctype/scan/char/1.cc: New. * 22_locale/ctype/scan/char/wrapped_env.cc: New. * 22_locale/ctype/scan/char/wrapped_locale.cc: New. * 22_locale/ctype/scan/wchar_t/1.cc: New. * 22_locale/ctype/scan/wchar_t/wrapped_env.cc: New. * 22_locale/ctype/scan/wchar_t/wrapped_locale.cc: New. * 22_locale/ctype/to/char/1.cc: New. * 22_locale/ctype/to/char/wrapped_env.cc: New. * 22_locale/ctype/to/char/wrapped_locale.cc: New. * 22_locale/ctype/to/wchar_t/1.cc: New. * 22_locale/ctype/to/wchar_t/wrapped_env.cc: New. * 22_locale/ctype/to/wchar_t/wrapped_locale.cc: New. * 22_locale/ctype/widen/char/1.cc: New. * 22_locale/ctype/widen/char/wrapped_env.cc: New. * 22_locale/ctype/widen/char/wrapped_locale.cc: New. * 22_locale/ctype/widen/wchar_t/1.cc: New. * 22_locale/ctype/widen/wchar_t/wrapped_env.cc: New. * 22_locale/ctype/widen/wchar_t/wrapped_locale.cc: New. * 22_locale/facet/1.cc: New. * 22_locale/facet/2.cc: New. * 22_locale/global_templates/1.cc: New. * 22_locale/locale/cons/1.cc: New. * 22_locale/locale/cons/2.cc: New. * 22_locale/locale/cons/3.cc: New. * 22_locale/locale/cons/4.cc: New. * 22_locale/locale/cons/5.cc: New. * 22_locale/locale/cons/6.cc: New. * 22_locale/locale/cons/7.cc: New. * 22_locale/locale/global_locale_objects/1.cc: New. * 22_locale/locale/global_locale_objects/2.cc: New. * 22_locale/locale/global_locale_objects/3.cc: New. * 22_locale/locale/operations/1.cc: New. * 22_locale/locale/operations/2.cc: New. * 22_locale/messages/1.cc: New. * 22_locale/messages/2.cc: New. * 22_locale/messages/members/char/1.cc: New. * 22_locale/messages/members/char/2.cc: New. * 22_locale/messages/members/char/3.cc: New. * 22_locale/messages/members/char/wrapped_env.cc: New. * 22_locale/messages/members/char/wrapped_locale.cc: New. * 22_locale/messages_byname/1.cc: New. * 22_locale/money_get/1.cc: New. * 22_locale/money_get/2.cc: New. * 22_locale/money_get/get/char/1.cc: New. * 22_locale/money_get/get/char/2.cc: New. * 22_locale/money_get/get/char/3.cc: New. * 22_locale/money_get/get/char/4.cc: New. * 22_locale/money_get/get/char/5.cc: New. * 22_locale/money_get/get/char/6.cc: New. * 22_locale/money_get/get/char/7.cc: New. * 22_locale/money_get/get/char/8.cc: New. * 22_locale/money_get/get/char/wrapped_env.cc: New. * 22_locale/money_get/get/char/wrapped_locale.cc: New. * 22_locale/money_get/get/wchar_t/1.cc: New. * 22_locale/money_get/get/wchar_t/2.cc: New. * 22_locale/money_get/get/wchar_t/3.cc: New. * 22_locale/money_get/get/wchar_t/4.cc: New. * 22_locale/money_get/get/wchar_t/5.cc: New. * 22_locale/money_get/get/wchar_t/6.cc: New. * 22_locale/money_get/get/wchar_t/7.cc: New. * 22_locale/money_get/get/wchar_t/8.cc: New. * 22_locale/money_get/get/wchar_t/wrapped_env.cc: New. * 22_locale/money_get/get/wchar_t/wrapped_locale.cc: New. * 22_locale/money_put/1.cc: New. * 22_locale/money_put/2.cc: New. * 22_locale/money_put/put/char/1.cc: New. * 22_locale/money_put/put/char/2.cc: New. * 22_locale/money_put/put/char/3.cc: New. * 22_locale/money_put/put/char/4.cc: New. * 22_locale/money_put/put/char/5.cc: New. * 22_locale/money_put/put/char/6.cc: New. * 22_locale/money_put/put/char/wrapped_env.cc: New. * 22_locale/money_put/put/char/wrapped_locale.cc: New. * 22_locale/money_put/put/wchar_t/1.cc: New. * 22_locale/money_put/put/wchar_t/2.cc: New. * 22_locale/money_put/put/wchar_t/3.cc: New. * 22_locale/money_put/put/wchar_t/4.cc: New. * 22_locale/money_put/put/wchar_t/5.cc: New. * 22_locale/money_put/put/wchar_t/6.cc: New. * 22_locale/money_put/put/wchar_t/wrapped_env.cc: New. * 22_locale/money_put/put/wchar_t/wrapped_locale.cc: New. * 22_locale/moneypunct/1.cc: New. * 22_locale/moneypunct/2.cc: New. * 22_locale/moneypunct/3.cc: New. * 22_locale/moneypunct/members/char/1.cc: New. * 22_locale/moneypunct/members/char/2.cc: New. * 22_locale/moneypunct/members/char/wrapped_env.cc: New. * 22_locale/moneypunct/members/char/wrapped_locale.cc: New. * 22_locale/moneypunct/members/wchar_t/1.cc: New. * 22_locale/moneypunct/members/wchar_t/2.cc: New. * 22_locale/moneypunct/members/wchar_t/wrapped_env.cc: New. * 22_locale/moneypunct/members/wchar_t/wrapped_locale.cc: New. * 22_locale/moneypunct_byname/1.cc: New. * 22_locale/num_get/1.cc: New. * 22_locale/num_get/2.cc: New. * 22_locale/num_get/get/char/1.cc: New. * 22_locale/num_get/get/char/2.cc: New. * 22_locale/num_get/get/char/3.cc: New. * 22_locale/num_get/get/char/4.cc: New. * 22_locale/num_get/get/char/5.cc: New. * 22_locale/num_get/get/char/6.cc: New. * 22_locale/num_get/get/char/wrapped_env.cc: New. * 22_locale/num_get/get/char/wrapped_locale.cc: New. * 22_locale/num_get/get/wchar_t/1.cc: New. * 22_locale/num_get/get/wchar_t/2.cc: New. * 22_locale/num_get/get/wchar_t/3.cc: New. * 22_locale/num_get/get/wchar_t/4.cc: New. * 22_locale/num_get/get/wchar_t/5.cc: New. * 22_locale/num_get/get/wchar_t/6.cc: New. * 22_locale/num_get/get/wchar_t/wrapped_env.cc: New. * 22_locale/num_get/get/wchar_t/wrapped_locale.cc: New. * 22_locale/num_put/1.cc: New. * 22_locale/num_put/2.cc: New. * 22_locale/num_put/put/char/1.cc: New. * 22_locale/num_put/put/char/2.cc: New. * 22_locale/num_put/put/char/3.cc: New. * 22_locale/num_put/put/char/4.cc: New. * 22_locale/num_put/put/char/5.cc: New. * 22_locale/num_put/put/char/wrapped_env.cc: New. * 22_locale/num_put/put/char/wrapped_locale.cc: New. * 22_locale/num_put/put/wchar_t/1.cc: New. * 22_locale/num_put/put/wchar_t/2.cc: New. * 22_locale/num_put/put/wchar_t/3.cc: New. * 22_locale/num_put/put/wchar_t/4.cc: New. * 22_locale/num_put/put/wchar_t/5.cc: New. * 22_locale/num_put/put/wchar_t/wrapped_env.cc: New. * 22_locale/num_put/put/wchar_t/wrapped_locale.cc: New. * 22_locale/numpunct/1.cc: New. * 22_locale/numpunct/2.cc: New. * 22_locale/numpunct/members/char/1.cc: New. * 22_locale/numpunct/members/char/2.cc: New. * 22_locale/numpunct/members/char/wrapped_env.cc: New. * 22_locale/numpunct/members/char/wrapped_locale.cc: New. * 22_locale/numpunct/members/wchar_t/1.cc: New. * 22_locale/numpunct/members/wchar_t/2.cc: New. * 22_locale/numpunct/members/wchar_t/wrapped_env.cc: New. * 22_locale/numpunct/members/wchar_t/wrapped_locale.cc: New. * 22_locale/numpunct_byname/1.cc: New. * 22_locale/numpunct_byname/2.cc: New. * 22_locale/time_get/1.cc: New. * 22_locale/time_get/2.cc: New. * 22_locale/time_get/date_order/char/1.cc: New. * 22_locale/time_get/date_order/char/wrapped_env.cc: New. * 22_locale/time_get/date_order/char/wrapped_locale.cc: New. * 22_locale/time_get/date_order/wchar_t/1.cc: New. * 22_locale/time_get/date_order/wchar_t/wrapped_env.cc: New. * 22_locale/time_get/date_order/wchar_t/wrapped_locale.cc: New. * 22_locale/time_get/get_date/char/1.cc: New. * 22_locale/time_get/get_date/char/2.cc: New. * 22_locale/time_get/get_date/char/3.cc: New. * 22_locale/time_get/get_date/char/wrapped_env.cc: New. * 22_locale/time_get/get_date/char/wrapped_locale.cc: New. * 22_locale/time_get/get_date/wchar_t/1.cc: New. * 22_locale/time_get/get_date/wchar_t/2.cc: New. * 22_locale/time_get/get_date/wchar_t/3.cc: New. * 22_locale/time_get/get_date/wchar_t/wrapped_env.cc: New. * 22_locale/time_get/get_date/wchar_t/wrapped_locale.cc: New. * 22_locale/time_get/get_monthname/char/1.cc: New. * 22_locale/time_get/get_monthname/char/2.cc: New. * 22_locale/time_get/get_monthname/char/3.cc: New. * 22_locale/time_get/get_monthname/char/wrapped_env.cc: New. * 22_locale/time_get/get_monthname/char/wrapped_locale.cc: New. * 22_locale/time_get/get_monthname/wchar_t/1.cc: New. * 22_locale/time_get/get_monthname/wchar_t/2.cc: New. * 22_locale/time_get/get_monthname/wchar_t/3.cc: New. * 22_locale/time_get/get_monthname/wchar_t/wrapped_env.cc: New. * 22_locale/time_get/get_monthname/wchar_t/wrapped_locale.cc: New. * 22_locale/time_get/get_time/char/1.cc: New. * 22_locale/time_get/get_time/char/2.cc: New. * 22_locale/time_get/get_time/char/3.cc: New. * 22_locale/time_get/get_time/char/wrapped_env.cc: New. * 22_locale/time_get/get_time/char/wrapped_locale.cc: New. * 22_locale/time_get/get_time/wchar_t/1.cc: New. * 22_locale/time_get/get_time/wchar_t/2.cc: New. * 22_locale/time_get/get_time/wchar_t/3.cc: New. * 22_locale/time_get/get_time/wchar_t/wrapped_env.cc: New. * 22_locale/time_get/get_time/wchar_t/wrapped_locale.cc: New. * 22_locale/time_get/get_weekday/char/1.cc: New. * 22_locale/time_get/get_weekday/char/2.cc: New. * 22_locale/time_get/get_weekday/char/3.cc: New. * 22_locale/time_get/get_weekday/char/wrapped_env.cc: New. * 22_locale/time_get/get_weekday/char/wrapped_locale.cc: New. * 22_locale/time_get/get_weekday/wchar_t/1.cc: New. * 22_locale/time_get/get_weekday/wchar_t/2.cc: New. * 22_locale/time_get/get_weekday/wchar_t/3.cc: New. * 22_locale/time_get/get_weekday/wchar_t/wrapped_env.cc: New. * 22_locale/time_get/get_weekday/wchar_t/wrapped_locale.cc: New. * 22_locale/time_get/get_year/char/1.cc: New. * 22_locale/time_get/get_year/char/3.cc: New. * 22_locale/time_get/get_year/char/wrapped_env.cc: New. * 22_locale/time_get/get_year/char/wrapped_locale.cc: New. * 22_locale/time_get/get_year/wchar_t/1.cc: New. * 22_locale/time_get/get_year/wchar_t/3.cc: New. * 22_locale/time_get/get_year/wchar_t/wrapped_env.cc: New. * 22_locale/time_get/get_year/wchar_t/wrapped_locale.cc: New. * 22_locale/time_put/1.cc: New. * 22_locale/time_put/2.cc: New. * 22_locale/time_put/put/char/1.cc: New. * 22_locale/time_put/put/char/10.cc: New. * 22_locale/time_put/put/char/2.cc: New. * 22_locale/time_put/put/char/3.cc: New. * 22_locale/time_put/put/char/4.cc: New. * 22_locale/time_put/put/char/5.cc: New. * 22_locale/time_put/put/char/6.cc: New. * 22_locale/time_put/put/char/7.cc: New. * 22_locale/time_put/put/char/8.cc: New. * 22_locale/time_put/put/char/9.cc: New. * 22_locale/time_put/put/char/wrapped_env.cc: New. * 22_locale/time_put/put/char/wrapped_locale.cc: New. * 22_locale/time_put/put/wchar_t/1.cc: New. * 22_locale/time_put/put/wchar_t/10.cc: New. * 22_locale/time_put/put/wchar_t/2.cc: New. * 22_locale/time_put/put/wchar_t/3.cc: New. * 22_locale/time_put/put/wchar_t/4.cc: New. * 22_locale/time_put/put/wchar_t/5.cc: New. * 22_locale/time_put/put/wchar_t/6.cc: New. * 22_locale/time_put/put/wchar_t/7.cc: New. * 22_locale/time_put/put/wchar_t/8.cc: New. * 22_locale/time_put/put/wchar_t/9.cc: New. * 22_locale/time_put/put/wchar_t/wrapped_env.cc: New. * 22_locale/time_put/put/wchar_t/wrapped_locale.cc: New. From-SVN: r61548
2003-01-21 16:29:19 +01:00
2003-01-21 Benjamin Kosnik <bkoz@redhat.com>
Reshuffle 22_locale testsuite.
* 22_locale/(codecvt.cc money_get.cc
codecvt_members_char_char.cc money_get_members_char.cc
codecvt_members_unicode_char.cc money_get_members_wchar_t.cc
codecvt_members_unicode_wchar_t.cc moneypunct_byname.cc
codecvt_members_wchar_t_char.cc moneypunct.cc collate_byname.cc
moneypunct_members_char.cc collate.cc moneypunct_members_wchar_t.cc
collate_members_char.cc money_put.cc collate_members_wchar_t.cc
money_put_members_char.cc ctor_copy_dtor.cc
money_put_members_wchar_t.cc ctype.cc num_get.cc ctype_is_char.cc
num_get_members_char.cc ctype_is_wchar_t.cc num_get_members_wchar_t.cc
ctype_members_char.cc numpunct_byname.cc ctype_members_wchar_t.cc
numpunct.cc ctype_narrow_char.cc numpunct_members_char.cc
ctype_narrow_wchar_t.cc numpunct_members_wchar_t.cc ctype_scan_char.cc
num_put.cc ctype_scan_wchar_t.cc num_put_members_char.cc
ctype_to_char.cc num_put_members_wchar_t.cc ctype_to_wchar_t.cc
operators.cc ctype_widen_char.cc static_members.cc
ctype_widen_wchar_t.cc time_get.cc facet.cc time_get_members_char.cc
global_templates.cc time_get_members_wchar_t.cc, members.cc,
time_put.cc, messages_byname.cc, time_put_members_char.cc,
messages.cc, time_put_members_wchar_t.cc, messages_members_char.cc):
Splint up into individual test cases...
* 22_locale/codecvt/1.cc: New.
* 22_locale/codecvt/2.cc: New.
* 22_locale/codecvt/always_noconv/char/1.cc: New.
* 22_locale/codecvt/always_noconv/char/wrapped_env.cc: New.
* 22_locale/codecvt/always_noconv/char/wrapped_locale.cc: New.
* 22_locale/codecvt/always_noconv/wchar_t/1.cc: New.
* 22_locale/codecvt/always_noconv/wchar_t/wrapped_env.cc: New.
* 22_locale/codecvt/always_noconv/wchar_t/wrapped_locale.cc: New.
* 22_locale/codecvt/encoding/char/1.cc: New.
* 22_locale/codecvt/encoding/char/wrapped_env.cc: New.
* 22_locale/codecvt/encoding/char/wrapped_locale.cc: New.
* 22_locale/codecvt/encoding/wchar_t/1.cc: New.
* 22_locale/codecvt/encoding/wchar_t/wrapped_env.cc: New.
* 22_locale/codecvt/encoding/wchar_t/wrapped_locale.cc: New.
* 22_locale/codecvt/in/char/1.cc: New.
* 22_locale/codecvt/in/char/wrapped_env.cc: New.
* 22_locale/codecvt/in/char/wrapped_locale.cc: New.
* 22_locale/codecvt/in/wchar_t/1.cc: New.
* 22_locale/codecvt/in/wchar_t/wrapped_env.cc: New.
* 22_locale/codecvt/in/wchar_t/wrapped_locale.cc: New.
* 22_locale/codecvt/length/char/1.cc: New.
* 22_locale/codecvt/length/char/wrapped_env.cc: New.
* 22_locale/codecvt/length/char/wrapped_locale.cc: New.
* 22_locale/codecvt/length/wchar_t/1.cc: New.
* 22_locale/codecvt/length/wchar_t/wrapped_env.cc: New.
* 22_locale/codecvt/length/wchar_t/wrapped_locale.cc: New.
* 22_locale/codecvt/max_length/char/1.cc: New.
* 22_locale/codecvt/max_length/char/wrapped_env.cc: New.
* 22_locale/codecvt/max_length/char/wrapped_locale.cc: New.
* 22_locale/codecvt/max_length/wchar_t/1.cc: New.
* 22_locale/codecvt/max_length/wchar_t/wrapped_env.cc: New.
* 22_locale/codecvt/max_length/wchar_t/wrapped_locale.cc: New.
* 22_locale/codecvt/out/char/1.cc: New.
* 22_locale/codecvt/out/char/wrapped_env.cc: New.
* 22_locale/codecvt/out/char/wrapped_locale.cc: New.
* 22_locale/codecvt/out/wchar_t/1.cc: New.
* 22_locale/codecvt/out/wchar_t/wrapped_env.cc: New.
* 22_locale/codecvt/out/wchar_t/wrapped_locale.cc: New.
* 22_locale/codecvt/unicode/char.cc: New.
* 22_locale/codecvt/unicode/wchar_t.cc: New.
* 22_locale/codecvt/unshift/char/1.cc: New.
* 22_locale/codecvt/unshift/char/wrapped_env.cc: New.
* 22_locale/codecvt/unshift/char/wrapped_locale.cc: New.
* 22_locale/codecvt/unshift/wchar_t/1.cc: New.
* 22_locale/codecvt/unshift/wchar_t/wrapped_env.cc: New.
* 22_locale/codecvt/unshift/wchar_t/wrapped_locale.cc: New.
* 22_locale/collate/1.cc: New.
* 22_locale/collate/2.cc: New.
* 22_locale/collate/compare/char/1.cc: New.
* 22_locale/collate/compare/char/2.cc: New.
* 22_locale/collate/compare/char/wrapped_env.cc: New.
* 22_locale/collate/compare/char/wrapped_locale.cc: New.
* 22_locale/collate/compare/wchar_t/1.cc: New.
* 22_locale/collate/compare/wchar_t/2.cc: New.
* 22_locale/collate/compare/wchar_t/wrapped_env.cc: New.
* 22_locale/collate/compare/wchar_t/wrapped_locale.cc: New.
* 22_locale/collate/hash/char/1.cc: New.
* 22_locale/collate/hash/char/2.cc: New.
* 22_locale/collate/hash/char/wrapped_env.cc: New.
* 22_locale/collate/hash/char/wrapped_locale.cc: New.
* 22_locale/collate/hash/wchar_t/1.cc: New.
* 22_locale/collate/hash/wchar_t/2.cc: New.
* 22_locale/collate/hash/wchar_t/wrapped_env.cc: New.
* 22_locale/collate/hash/wchar_t/wrapped_locale.cc: New.
* 22_locale/collate/transform/char/2.cc: New.
* 22_locale/collate/transform/char/wrapped_env.cc: New.
* 22_locale/collate/transform/char/wrapped_locale.cc: New.
* 22_locale/collate/transform/wchar_t/2.cc: New.
* 22_locale/collate/transform/wchar_t/wrapped_env.cc: New.
* 22_locale/collate/transform/wchar_t/wrapped_locale.cc: New.
* 22_locale/collate_byname/1.cc: New.
* 22_locale/ctype/1.cc: New.
* 22_locale/ctype/2.cc: New.
* 22_locale/ctype/cons/char/1.cc: New.
* 22_locale/ctype/cons/char/wrapped_env.cc: New.
* 22_locale/ctype/cons/char/wrapped_locale.cc: New.
* 22_locale/ctype/is/char/1.cc: New.
* 22_locale/ctype/is/char/2.cc: New.
* 22_locale/ctype/is/char/3.cc: New.
* 22_locale/ctype/is/char/wrapped_env.cc: New.
* 22_locale/ctype/is/char/wrapped_locale.cc: New.
* 22_locale/ctype/is/wchar_t/1.cc: New.
* 22_locale/ctype/is/wchar_t/2.cc: New.
* 22_locale/ctype/is/wchar_t/wrapped_env.cc: New.
* 22_locale/ctype/is/wchar_t/wrapped_locale.cc: New.
* 22_locale/ctype/narrow/char/1.cc: New.
* 22_locale/ctype/narrow/char/2.cc: New.
* 22_locale/ctype/narrow/char/wrapped_env.cc: New.
* 22_locale/ctype/narrow/char/wrapped_locale.cc: New.
* 22_locale/ctype/narrow/wchar_t/1.cc: New.
* 22_locale/ctype/narrow/wchar_t/2.cc: New.
* 22_locale/ctype/narrow/wchar_t/wrapped_env.cc: New.
* 22_locale/ctype/narrow/wchar_t/wrapped_locale.cc: New.
* 22_locale/ctype/scan/char/1.cc: New.
* 22_locale/ctype/scan/char/wrapped_env.cc: New.
* 22_locale/ctype/scan/char/wrapped_locale.cc: New.
* 22_locale/ctype/scan/wchar_t/1.cc: New.
* 22_locale/ctype/scan/wchar_t/wrapped_env.cc: New.
* 22_locale/ctype/scan/wchar_t/wrapped_locale.cc: New.
* 22_locale/ctype/to/char/1.cc: New.
* 22_locale/ctype/to/char/wrapped_env.cc: New.
* 22_locale/ctype/to/char/wrapped_locale.cc: New.
* 22_locale/ctype/to/wchar_t/1.cc: New.
* 22_locale/ctype/to/wchar_t/wrapped_env.cc: New.
* 22_locale/ctype/to/wchar_t/wrapped_locale.cc: New.
* 22_locale/ctype/widen/char/1.cc: New.
* 22_locale/ctype/widen/char/wrapped_env.cc: New.
* 22_locale/ctype/widen/char/wrapped_locale.cc: New.
* 22_locale/ctype/widen/wchar_t/1.cc: New.
* 22_locale/ctype/widen/wchar_t/wrapped_env.cc: New.
* 22_locale/ctype/widen/wchar_t/wrapped_locale.cc: New.
* 22_locale/facet/1.cc: New.
* 22_locale/facet/2.cc: New.
* 22_locale/global_templates/1.cc: New.
* 22_locale/locale/cons/1.cc: New.
* 22_locale/locale/cons/2.cc: New.
* 22_locale/locale/cons/3.cc: New.
* 22_locale/locale/cons/4.cc: New.
* 22_locale/locale/cons/5.cc: New.
* 22_locale/locale/cons/6.cc: New.
* 22_locale/locale/cons/7.cc: New.
* 22_locale/locale/global_locale_objects/1.cc: New.
* 22_locale/locale/global_locale_objects/2.cc: New.
* 22_locale/locale/global_locale_objects/3.cc: New.
* 22_locale/locale/operations/1.cc: New.
* 22_locale/locale/operations/2.cc: New.
* 22_locale/messages/1.cc: New.
* 22_locale/messages/2.cc: New.
* 22_locale/messages/members/char/1.cc: New.
* 22_locale/messages/members/char/2.cc: New.
* 22_locale/messages/members/char/3.cc: New.
* 22_locale/messages/members/char/wrapped_env.cc: New.
* 22_locale/messages/members/char/wrapped_locale.cc: New.
* 22_locale/messages_byname/1.cc: New.
* 22_locale/money_get/1.cc: New.
* 22_locale/money_get/2.cc: New.
* 22_locale/money_get/get/char/1.cc: New.
* 22_locale/money_get/get/char/2.cc: New.
* 22_locale/money_get/get/char/3.cc: New.
* 22_locale/money_get/get/char/4.cc: New.
* 22_locale/money_get/get/char/5.cc: New.
* 22_locale/money_get/get/char/6.cc: New.
* 22_locale/money_get/get/char/7.cc: New.
* 22_locale/money_get/get/char/8.cc: New.
* 22_locale/money_get/get/char/wrapped_env.cc: New.
* 22_locale/money_get/get/char/wrapped_locale.cc: New.
* 22_locale/money_get/get/wchar_t/1.cc: New.
* 22_locale/money_get/get/wchar_t/2.cc: New.
* 22_locale/money_get/get/wchar_t/3.cc: New.
* 22_locale/money_get/get/wchar_t/4.cc: New.
* 22_locale/money_get/get/wchar_t/5.cc: New.
* 22_locale/money_get/get/wchar_t/6.cc: New.
* 22_locale/money_get/get/wchar_t/7.cc: New.
* 22_locale/money_get/get/wchar_t/8.cc: New.
* 22_locale/money_get/get/wchar_t/wrapped_env.cc: New.
* 22_locale/money_get/get/wchar_t/wrapped_locale.cc: New.
* 22_locale/money_put/1.cc: New.
* 22_locale/money_put/2.cc: New.
* 22_locale/money_put/put/char/1.cc: New.
* 22_locale/money_put/put/char/2.cc: New.
* 22_locale/money_put/put/char/3.cc: New.
* 22_locale/money_put/put/char/4.cc: New.
* 22_locale/money_put/put/char/5.cc: New.
* 22_locale/money_put/put/char/6.cc: New.
* 22_locale/money_put/put/char/wrapped_env.cc: New.
* 22_locale/money_put/put/char/wrapped_locale.cc: New.
* 22_locale/money_put/put/wchar_t/1.cc: New.
* 22_locale/money_put/put/wchar_t/2.cc: New.
* 22_locale/money_put/put/wchar_t/3.cc: New.
* 22_locale/money_put/put/wchar_t/4.cc: New.
* 22_locale/money_put/put/wchar_t/5.cc: New.
* 22_locale/money_put/put/wchar_t/6.cc: New.
* 22_locale/money_put/put/wchar_t/wrapped_env.cc: New.
* 22_locale/money_put/put/wchar_t/wrapped_locale.cc: New.
* 22_locale/moneypunct/1.cc: New.
* 22_locale/moneypunct/2.cc: New.
* 22_locale/moneypunct/3.cc: New.
* 22_locale/moneypunct/members/char/1.cc: New.
* 22_locale/moneypunct/members/char/2.cc: New.
* 22_locale/moneypunct/members/char/wrapped_env.cc: New.
* 22_locale/moneypunct/members/char/wrapped_locale.cc: New.
* 22_locale/moneypunct/members/wchar_t/1.cc: New.
* 22_locale/moneypunct/members/wchar_t/2.cc: New.
* 22_locale/moneypunct/members/wchar_t/wrapped_env.cc: New.
* 22_locale/moneypunct/members/wchar_t/wrapped_locale.cc: New.
* 22_locale/moneypunct_byname/1.cc: New.
* 22_locale/num_get/1.cc: New.
* 22_locale/num_get/2.cc: New.
* 22_locale/num_get/get/char/1.cc: New.
* 22_locale/num_get/get/char/2.cc: New.
* 22_locale/num_get/get/char/3.cc: New.
* 22_locale/num_get/get/char/4.cc: New.
* 22_locale/num_get/get/char/5.cc: New.
* 22_locale/num_get/get/char/6.cc: New.
* 22_locale/num_get/get/char/wrapped_env.cc: New.
* 22_locale/num_get/get/char/wrapped_locale.cc: New.
* 22_locale/num_get/get/wchar_t/1.cc: New.
* 22_locale/num_get/get/wchar_t/2.cc: New.
* 22_locale/num_get/get/wchar_t/3.cc: New.
* 22_locale/num_get/get/wchar_t/4.cc: New.
* 22_locale/num_get/get/wchar_t/5.cc: New.
* 22_locale/num_get/get/wchar_t/6.cc: New.
* 22_locale/num_get/get/wchar_t/wrapped_env.cc: New.
* 22_locale/num_get/get/wchar_t/wrapped_locale.cc: New.
* 22_locale/num_put/1.cc: New.
* 22_locale/num_put/2.cc: New.
* 22_locale/num_put/put/char/1.cc: New.
* 22_locale/num_put/put/char/2.cc: New.
* 22_locale/num_put/put/char/3.cc: New.
* 22_locale/num_put/put/char/4.cc: New.
* 22_locale/num_put/put/char/5.cc: New.
* 22_locale/num_put/put/char/wrapped_env.cc: New.
* 22_locale/num_put/put/char/wrapped_locale.cc: New.
* 22_locale/num_put/put/wchar_t/1.cc: New.
* 22_locale/num_put/put/wchar_t/2.cc: New.
* 22_locale/num_put/put/wchar_t/3.cc: New.
* 22_locale/num_put/put/wchar_t/4.cc: New.
* 22_locale/num_put/put/wchar_t/5.cc: New.
* 22_locale/num_put/put/wchar_t/wrapped_env.cc: New.
* 22_locale/num_put/put/wchar_t/wrapped_locale.cc: New.
* 22_locale/numpunct/1.cc: New.
* 22_locale/numpunct/2.cc: New.
* 22_locale/numpunct/members/char/1.cc: New.
* 22_locale/numpunct/members/char/2.cc: New.
* 22_locale/numpunct/members/char/wrapped_env.cc: New.
* 22_locale/numpunct/members/char/wrapped_locale.cc: New.
* 22_locale/numpunct/members/wchar_t/1.cc: New.
* 22_locale/numpunct/members/wchar_t/2.cc: New.
* 22_locale/numpunct/members/wchar_t/wrapped_env.cc: New.
* 22_locale/numpunct/members/wchar_t/wrapped_locale.cc: New.
* 22_locale/numpunct_byname/1.cc: New.
* 22_locale/numpunct_byname/2.cc: New.
* 22_locale/time_get/1.cc: New.
* 22_locale/time_get/2.cc: New.
* 22_locale/time_get/date_order/char/1.cc: New.
* 22_locale/time_get/date_order/char/wrapped_env.cc: New.
* 22_locale/time_get/date_order/char/wrapped_locale.cc: New.
* 22_locale/time_get/date_order/wchar_t/1.cc: New.
* 22_locale/time_get/date_order/wchar_t/wrapped_env.cc: New.
* 22_locale/time_get/date_order/wchar_t/wrapped_locale.cc: New.
* 22_locale/time_get/get_date/char/1.cc: New.
* 22_locale/time_get/get_date/char/2.cc: New.
* 22_locale/time_get/get_date/char/3.cc: New.
* 22_locale/time_get/get_date/char/wrapped_env.cc: New.
* 22_locale/time_get/get_date/char/wrapped_locale.cc: New.
* 22_locale/time_get/get_date/wchar_t/1.cc: New.
* 22_locale/time_get/get_date/wchar_t/2.cc: New.
* 22_locale/time_get/get_date/wchar_t/3.cc: New.
* 22_locale/time_get/get_date/wchar_t/wrapped_env.cc: New.
* 22_locale/time_get/get_date/wchar_t/wrapped_locale.cc: New.
* 22_locale/time_get/get_monthname/char/1.cc: New.
* 22_locale/time_get/get_monthname/char/2.cc: New.
* 22_locale/time_get/get_monthname/char/3.cc: New.
* 22_locale/time_get/get_monthname/char/wrapped_env.cc: New.
* 22_locale/time_get/get_monthname/char/wrapped_locale.cc: New.
* 22_locale/time_get/get_monthname/wchar_t/1.cc: New.
* 22_locale/time_get/get_monthname/wchar_t/2.cc: New.
* 22_locale/time_get/get_monthname/wchar_t/3.cc: New.
* 22_locale/time_get/get_monthname/wchar_t/wrapped_env.cc: New.
* 22_locale/time_get/get_monthname/wchar_t/wrapped_locale.cc: New.
* 22_locale/time_get/get_time/char/1.cc: New.
* 22_locale/time_get/get_time/char/2.cc: New.
* 22_locale/time_get/get_time/char/3.cc: New.
* 22_locale/time_get/get_time/char/wrapped_env.cc: New.
* 22_locale/time_get/get_time/char/wrapped_locale.cc: New.
* 22_locale/time_get/get_time/wchar_t/1.cc: New.
* 22_locale/time_get/get_time/wchar_t/2.cc: New.
* 22_locale/time_get/get_time/wchar_t/3.cc: New.
* 22_locale/time_get/get_time/wchar_t/wrapped_env.cc: New.
* 22_locale/time_get/get_time/wchar_t/wrapped_locale.cc: New.
* 22_locale/time_get/get_weekday/char/1.cc: New.
* 22_locale/time_get/get_weekday/char/2.cc: New.
* 22_locale/time_get/get_weekday/char/3.cc: New.
* 22_locale/time_get/get_weekday/char/wrapped_env.cc: New.
* 22_locale/time_get/get_weekday/char/wrapped_locale.cc: New.
* 22_locale/time_get/get_weekday/wchar_t/1.cc: New.
* 22_locale/time_get/get_weekday/wchar_t/2.cc: New.
* 22_locale/time_get/get_weekday/wchar_t/3.cc: New.
* 22_locale/time_get/get_weekday/wchar_t/wrapped_env.cc: New.
* 22_locale/time_get/get_weekday/wchar_t/wrapped_locale.cc: New.
* 22_locale/time_get/get_year/char/1.cc: New.
* 22_locale/time_get/get_year/char/3.cc: New.
* 22_locale/time_get/get_year/char/wrapped_env.cc: New.
* 22_locale/time_get/get_year/char/wrapped_locale.cc: New.
* 22_locale/time_get/get_year/wchar_t/1.cc: New.
* 22_locale/time_get/get_year/wchar_t/3.cc: New.
* 22_locale/time_get/get_year/wchar_t/wrapped_env.cc: New.
* 22_locale/time_get/get_year/wchar_t/wrapped_locale.cc: New.
* 22_locale/time_put/1.cc: New.
* 22_locale/time_put/2.cc: New.
* 22_locale/time_put/put/char/1.cc: New.
* 22_locale/time_put/put/char/10.cc: New.
* 22_locale/time_put/put/char/2.cc: New.
* 22_locale/time_put/put/char/3.cc: New.
* 22_locale/time_put/put/char/4.cc: New.
* 22_locale/time_put/put/char/5.cc: New.
* 22_locale/time_put/put/char/6.cc: New.
* 22_locale/time_put/put/char/7.cc: New.
* 22_locale/time_put/put/char/8.cc: New.
* 22_locale/time_put/put/char/9.cc: New.
* 22_locale/time_put/put/char/wrapped_env.cc: New.
* 22_locale/time_put/put/char/wrapped_locale.cc: New.
* 22_locale/time_put/put/wchar_t/1.cc: New.
* 22_locale/time_put/put/wchar_t/10.cc: New.
* 22_locale/time_put/put/wchar_t/2.cc: New.
* 22_locale/time_put/put/wchar_t/3.cc: New.
* 22_locale/time_put/put/wchar_t/4.cc: New.
* 22_locale/time_put/put/wchar_t/5.cc: New.
* 22_locale/time_put/put/wchar_t/6.cc: New.
* 22_locale/time_put/put/wchar_t/7.cc: New.
* 22_locale/time_put/put/wchar_t/8.cc: New.
* 22_locale/time_put/put/wchar_t/9.cc: New.
* 22_locale/time_put/put/wchar_t/wrapped_env.cc: New.
* 22_locale/time_put/put/wchar_t/wrapped_locale.cc: New.
2003-01-16 Jeffrey D. Oldham <oldham@codesourcery.com>
* config/locale/generic/messages_members.h
(messages_byname<_CharT>::messages_byname): Use this-> to refer to
unqualified members of base clasess.
cp-tree.h (lang_type_class): Remove is_partial_instantiation. * cp-tree.h (lang_type_class): Remove is_partial_instantiation. (PARTIAL_INSTANTIATION_P): Remove. (IMPLICIT_TYPENAME_P): Likewise. (IMPLICIT_TYPENAME_TYPE_DECL_P): Likewise. (build_typename_type): Remove declaration. (parmlist_is_exprlist): Likewise. * decl.c (build_typename_type): Make it static, remove third parameter. (push_class_binding): Don't do implicit typename stuff. (make_typename_type): Likewise. (lookup_name_real): Likewise. (grokdeclarator): Don't try to convert declarations into initializations. Don't do implicit typename stuff. (parmlist_is_exprlist): Remove. (xref_basetypes): Simplify. * decl2.c (grokfield): Don't try to convert declarations into initializations. (build_anon_union_vars): Do this while processing templates, too. (finish_anon_union): Likewise. * error.c (dump_type): Remove implicit typename handling. * parser.c (cp_parser_diagnose_invalid_type_name): New method. (cp_parser_primary_expression): Correct handling of names not found by unqualified name lookup in templates. (cp_parser_nested_name_specifier_opt): Avoid checking dependency of types when possible. (cp_parser_simple_declaration): Complain intelligently about some invalid declarations. (cp_parser_member_declaration): Likewise. (cp_parser_constructor_declarator_p): Don't check when we're in a function scope. * pt.c (instantiate_class_template): Remove PARTIAL_INSTANTIATION_P gunk. * search.c (lookup_field_r): Don't build implicit typenames. (marked_pushdecls_p): Don't enter dependent base types. (unmarked_pushdecls_p): Likewise. * semantics.c (begin_class_definition): Remove implicit typename stuff. * config/locale/gnu/messages_members.h: Use this-> to refer to unqualified members of base clasess. * config/locale/ieee_1003.1-2001/codecvt_specializations.h: Likewise. * include/bits/codecvt.h: Likewise. * include/bits/deque.tcc: Likewise. * include/bits/fstream.tcc: Likewise. * include/bits/istream.tcc: Likewise. * include/bits/list.tcc: Likewise. * include/bits/locale_facets.h: Likewise. * include/bits/ostream.tcc: Likewise. * include/bits/sstream.tcc: 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/ropeimpl.h: Likewise. * include/ext/stdio_filebuf.h: Likewise. * include/ext/stl_rope.h: Likewise. * include/std/std_fstream.h: Likewise. * include/std/std_sstream.h: Likewise. Co-Authored-By: Jeffrey Oldham <oldham@codesourcery.com> From-SVN: r61403
2003-01-16 21:30:50 +01:00
2003-01-16 Mark Mitchell <mark@codesourcery.com>
Jeffrey Oldham <oldham@codesourcery.com>
* config/locale/gnu/messages_members.h: Use this-> to refer to
unqualified members of base clasess.
* config/locale/ieee_1003.1-2001/codecvt_specializations.h: Likewise.
* include/bits/codecvt.h: Likewise.
* include/bits/deque.tcc: Likewise.
* include/bits/fstream.tcc: Likewise.
* include/bits/istream.tcc: Likewise.
* include/bits/list.tcc: Likewise.
* include/bits/locale_facets.h: Likewise.
* include/bits/ostream.tcc: Likewise.
* include/bits/sstream.tcc: 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/ropeimpl.h: Likewise.
* include/ext/stdio_filebuf.h: Likewise.
* include/ext/stl_rope.h: Likewise.
* include/std/std_fstream.h: Likewise.
* include/std/std_sstream.h: Likewise.
2003-01-15 Phil Edwards <pme@gcc.gnu.org>
* include/bits/basic_string.tcc (_S_string_copy): Unused, remove.
2003-01-15 Benjamin Kosnik <bkoz@redhat.com>
* acinclude.m4 (GLIBCPP_CHECK_WCHAR_T_SUPPORT): Substitute
GLIBCPP_TEST_WCHAR_T if building wchar_t bits in the library.
* aclocal.m4: Regenerate.
* configure: Regenerate.
* testsuite/Makefile.am (all-local): Add conditional rule to
generate testsuite_wchar_t.
* testsuite/Makefile.in: Regenerate.
* testsuite/lib/libstdc++-v3-dg.exp
(libstdc++-v3-list-sourcefiles): Remove wchar_t files if
testsuite_wchar_t is not present in the build directory.
* testsuite/libstdc++-v3.dg/dg.exp: Add -g -O2 to DEFAULT_CXXFLAGS.
Remove setulimit bits.
* testsuite/26_numerics/complex_value.cc: Set to noopts.
* testsuite/Makefile.am (CLEANFILES): Add.
* testsuite/Makefile.in: Regenerate.
2003-01-15 John David Anglin <dave@hiauly1.hia.nrc.ca>
* config/os/hpux/os_defines.h (_GLIBCPP_GTHREAD_USE_WEAK): Define for
__hppa__.
2003-01-14 Jeffrey D. Oldham <oldham@codesourcery.com>
Further conform g++'s __vmi_class_type_info to the C++ ABI
specification.
* libsupc++/cxxabi.h
(__vmi_class_type_info::__flags_masks): Remove enumerations not
required by the specification.
Renames, namespaces for testsuite utilities. 2003-01-12 Benjamin Kosnik <bkoz@redhat.com> Renames, namespaces for testsuite utilities. * testsuite/testsuite_hooks.h: Put into namespace __gnu_cxx_test. (gnu_allocator_tracker): Rename to allocation_tracker. (gnu_new_allocator): Rename to tracker_alloc. (__set_testsuite_memlimit): Rename to set_memory_limits. (gnu_assignment_operator): Rename to assignment_operator. (gnu_destructor): Rename to destructor. (gnu_copy_tracker): Rename to copy_tracker. (gnu_char, gnu_int, gnu_long): Rename to pod_char, pod_int, pod_long. (run_tests_wrapped_locale): New. (run_tests_wrapped_env): New. * testsuite/testsuite_hooks.cc: Same. (class locale_data): Add. (class enviornment_variable): Add. (class not_found): Add. * testsuite/testsuite_allocator.h: Same. * testsuite/testsuite_allocator.cc: Same. * testsuite/23_containers/deque_ctor.cc (test_copy_ctor_exception_safety): Change gnu_allocator_tracker to allocation_tracker. Change gnu_new_allocator to tracker_alloc. Change gnu_counting_struct to counter. Change gnu_copy_tracker to copy_tracker. Change gnu_copy_constructor to copy_constructor. Change gnu_assignment_operator to assignment_operator. Inject. * testsuite/23_containers/vector_capacity.cc: Same. * testsuite/23_containers/vector_ctor.cc (test01): Same. * testsuite/23_containers/list_modifiers.cc: Change gnu_copy_tracker to copy_tracker. * testsuite/21_strings/ctor_copy_dtor.cc (main): Change __set_testsuite_memlimit to set_memory_limits. * testsuite/21_strings/insert.cc (main): Same. * testsuite/27_io/filebuf.cc: Change gnu_char to pod_char. * testsuite/27_io/stringstream.cc: Same. * testsuite/27_io/stringbuf.cc: Same. * testsuite/27_io/streambuf.cc: Same. * testsuite/27_io/ostream.cc: Same. * testsuite/27_io/istream.cc: Same. * testsuite/27_io/fstream.cc: Same. * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-list-sourcefiles): Additionally handle files two and three levels deeper in glob patterns. From-SVN: r61261
2003-01-14 05:56:56 +01:00
2003-01-12 Benjamin Kosnik <bkoz@redhat.com>
Renames, namespaces for testsuite utilities.
* testsuite/testsuite_hooks.h: Put into namespace __gnu_cxx_test.
(gnu_allocator_tracker): Rename to allocation_tracker.
(gnu_new_allocator): Rename to tracker_alloc.
(__set_testsuite_memlimit): Rename to set_memory_limits.
(gnu_assignment_operator): Rename to assignment_operator.
(gnu_destructor): Rename to destructor.
(gnu_copy_tracker): Rename to copy_tracker.
(gnu_char, gnu_int, gnu_long): Rename to pod_char, pod_int, pod_long.
(run_tests_wrapped_locale): New.
(run_tests_wrapped_env): New.
* testsuite/testsuite_hooks.cc: Same.
(class locale_data): Add.
(class enviornment_variable): Add.
(class not_found): Add.
* testsuite/testsuite_allocator.h: Same.
* testsuite/testsuite_allocator.cc: Same.
* testsuite/23_containers/deque_ctor.cc
(test_copy_ctor_exception_safety): Change gnu_allocator_tracker to
allocation_tracker.
Change gnu_new_allocator to tracker_alloc.
Change gnu_counting_struct to counter.
Change gnu_copy_tracker to copy_tracker.
Change gnu_copy_constructor to copy_constructor.
Change gnu_assignment_operator to assignment_operator.
Inject.
* testsuite/23_containers/vector_capacity.cc: Same.
* testsuite/23_containers/vector_ctor.cc (test01): Same.
* testsuite/23_containers/list_modifiers.cc: Change
gnu_copy_tracker to copy_tracker.
* testsuite/21_strings/ctor_copy_dtor.cc (main): Change
__set_testsuite_memlimit to set_memory_limits.
* testsuite/21_strings/insert.cc (main): Same.
* testsuite/27_io/filebuf.cc: Change gnu_char to pod_char.
* testsuite/27_io/stringstream.cc: Same.
* testsuite/27_io/stringbuf.cc: Same.
* testsuite/27_io/streambuf.cc: Same.
* testsuite/27_io/ostream.cc: Same.
* testsuite/27_io/istream.cc: Same.
* testsuite/27_io/fstream.cc: Same.
* testsuite/lib/libstdc++-v3-dg.exp
(libstdc++-v3-list-sourcefiles): Additionally handle files two and
three levels deeper in glob patterns.
2003-01-11 Phil Edwards <pme@gcc.gnu.org>
* docs/doxygen/tables.html: Finished now.
* docs/doxygen/user.cfg.in: Update to latest version of Doxygen.
* include/bits/basic_ios.h (basic_ios::rdbuf): Add example to
comments.
* include/bits/deque.tcc, include/bits/stl_alloc.h,
include/bits/stl_deque.h, include/bits/stl_list.h,
include/bits/stl_vector.h: Remove _GLIBCPP_DEPRECATED bits scheduled
for 3.4 removal.
2003-01-09 Benjamin Kosnik <bkoz@redhat.com>
* configure.in: Revert.
* configure: Regenerate.
2003-01-09 Christian Cornelssen <ccorn@cs.tu-berlin.de>
* include/Makefile.am (install-data-local): Prepend
$(DESTDIR) to destination paths in all (un)installation
commands. Use ${c_base_builddir} and ${std_builddir}
as destination subdirectories to achieve consistency with
preceding mkinstalldirs commands. No effect because both
variables contain "." only.
* include/Makefile.in: Regenerate.
2003-01-08 Benjamin Kosnik <bkoz@redhat.com>
* include/Makefile.am (stamp-*): Add checks for existing stamps.
* include/Makefile.in: Regenerate.
* acinclude.m4 (GLIBCPP_ENABLE_DEBUG): Correct comment.
* aclocal.m4: Regenerate.
* configure.in: Don't add new multi-do rules every time the
directory is reconfigured.
* configure: Regenerate.
2003-01-08 Brad Spencer <spencer@infointeractive.com>
Nathan Myers <ncm@cantrip.org>
* src/Makefile.am (stamp-debug): Clean.
* src/Makefile.in: Regenerate.
2003-01-07 Benjamin Kosnik <bkoz@redhat.com>
PR libstdc++/8707
* Makefile.am (distclean-multi): Fix.
* Makefile.in: Regenerate.
2003-01-06 Benjamin Kosnik <bkoz@redhat.com>
* include/bits/locale_facets.h (messages): Move ctor, dtor
definitions to..
(__timepunct): Same.
* config/locale/gnu/messages_members.h (messages): Add dtor, ctor
definitions. Conditionalize for GNU systems.
* config/locale/generic/messages_members.h (messages): Add dtor, ctor
definitions.
* config/locale/gnu/time_members.h (messages): New. Add dtor, ctor
definitions. Conditionalize for GNU systems.
* config/locale/generic/time_members.h (messages): New. Add dtor, ctor
definitions.
* include/bits/localefwd.h (locale::facet::_S_c_name): Add.
* src/locale.cc: Define.
* src/localename.cc (locale::_Impl::_Impl(facet**, size_t, bool):
Use it.
* config/locale/gnu/time_members.h: Use it.
* config/locale/gnu/messages_members.h: Use it.
* config/linker-map.gnu: Add locale::facets details.
* include/Makefile.am (target_headers_extra): Add time_members.h.
* include/Makefile.in: Regenerate.
* acinclude.m4: Export CTIME_H.
* aclocal.m4: Regenerate.
* configure: Regnerate.
2003-01-06 Paolo Carlini <pcarlini@unitus.it>
* src/codecvt.cc
(codecvt<char, char, mbstate_t>::do_in, do_out):
Tweak parameters to avoid unused parameter warnings.
2003-01-06 Paolo Carlini <pcarlini@unitus.it>
PR libstdc++/9151
* include/bits/locale_facets.cc (num_put::_M_convert_float):
Limit __prec to digits10 + 2, not digits10 + 1, taking into
account the possibility of %{g,G} conversion specifiers
inside _S_format_float.
* testsuite/27_io/ostream_inserter_arith.cc (test06): Add.
2003-01-06 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init,
libstdc++-v3-list-sourcefiles): Additionally handle files one
level deeper in glob patterns.
* testsuite/27_io/istream_extractor_arith.cc: Delete, split...
* testsuite/27_io/istream_extractor_arith/01.cc,
testsuite/27_io/istream_extractor_arith/02.cc,
testsuite/27_io/istream_extractor_arith/03.cc,
testsuite/27_io/istream_extractor_arith/06.cc,
testsuite/27_io/istream_extractor_arith/07.cc,
testsuite/27_io/istream_extractor_arith/08.cc,
testsuite/27_io/istream_extractor_arith/09.cc,
testsuite/27_io/istream_extractor_arith/10.cc,
testsuite/27_io/istream_extractor_arith/11.cc,
testsuite/27_io/istream_extractor_arith/12.cc,
testsuite/27_io/istream_extractor_arith/13.cc: ... to new files.
* testsuite/27_io/istream_extractor_arith/12.cc: Add XFAIL for
sparc*-*-solaris2*.
2003-01-05 Paolo Carlini <pcarlini@unitus.it>
PR libstdc++/9168
* src/codecvt.cc
(codecvt<char, char, mbstate_t>::do_in, do_out):
Implement the resolution of DR19 (TC).
* testsuite/22_locale/codecvt_members_char_char.cc
(test01): Tweak.
2003-01-02 Jason Merrill <jason@redhat.com>
* config/cpu/i486/atomicity.h (__exchange_and_add, __atomic_add):
*__mem is also an output.
* config/cpu/m68k/atomicity.h (__exchange_and_add): Likewise.