mirror of
https://gcc.gnu.org/git/gcc.git
synced 2024-11-27 13:54:19 +08:00
b1e4f4dd5c
285 Commits
Author | SHA1 | Message | Date | |
---|---|---|---|---|
Chris Fairles
|
15e38d0dce |
chrono: New, as per N2661.
2008-07-15 Chris Fairles <chris.fairles@gmail.com> * include/std/chrono: New, as per N2661. * src/chrono.cc: New. * include/Makefile.am: Update. * src/Makefile.am: Likewise. * include/Makefile.in: Regenerate. * src/Makefile.in: Likewise. * acinclude.m4: Add tests for clock_gettime and gettimeofday that define _GLIBCXX_HAS_CLOCK_GETTIME and/or _GLIBCXX_HAS_GETTIMEOFDAY. * configure.ac: Use them. * configure: Regenerate. * config.h.in: Likewise. * config/abi/pre/gnu.ver: Add symbols for system_clock::now() and system_clock::is_monotonic. * testsuite/20_util/duration/cons/1.cc: New. * testsuite/20_util/duration/cons/2.cc: Likewise. * testsuite/20_util/duration/cons/1_neg.cc: Likewise. * testsuite/20_util/duration/requirements/explicit_instantiation/ explicit_instantiation.cc: Likewise. * testsuite/20_util/duration/arithmetic/1.cc: Likewise. * testsuite/20_util/duration/arithmetic/2.cc: Likewise. * testsuite/20_util/duration/comparisons/1.cc: Likewise. * testsuite/20_util/time_point/requirements/explicit_instantiation/ explicit_instantiation.cc: Likewise. * testsuite/20_util/time_point/1.cc: Likewise. * testsuite/20_util/time_point/2.cc: Likewise. * testsuite/20_util/time_point/3.cc: Likewise. * testsuite/20_util/clocks/1.cc: Likewise. * testsuite/17_intro/headers/c++200x/all_multiple_inclusion.cc: Add missing headers. * testsuite/17_intro/headers/c++200x/all.cc: Likewise. * include/precompiled/stdc++.h: Likewise and remove <date_time>. * doc/doxygen/user.cfg.in: Likewise. From-SVN: r137858 |
||
Joseph Myers
|
70dfa2d714 |
typedefs-2.cc, [...]: Use -Wl,--no-enum-size-warning for arm*-*-linux*eabi.
* testsuite/20_util/make_signed/requirements/typedefs-2.cc, testsuite/20_util/make_unsigned/requirements/typedefs-2.cc: Use -Wl,--no-enum-size-warning for arm*-*-linux*eabi. From-SVN: r137673 |
||
Chris Fairles
|
cfa9a96b64 |
type_traits: Add common_type.
2008-07-08 Chris Fairles <chris.fairles@gmail.com> * include/std/type_traits: Add common_type. * testsuite/20_util/common_type/requirements/ explicit_instantiation.cc: New. * testsuite/20_util/common_type/requirements/ typedefs-1.cc: Likewise. From-SVN: r137618 |
||
Paolo Carlini
|
a7543cfdcd |
libstdc++.exp (check_v3_target_stdint): New.
2008-07-07 Paolo Carlini <paolo.carlini@oracle.com> * testsuite/lib/libstdc++.exp (check_v3_target_stdint): New. * testsuite/lib/dg-options.exp (dg-require-cstdint): New. * testsuite/20_util/ratio/cons/cons1.cc: Use it. * testsuite/20_util/ratio/cons/cons_overflow.cc: Likewise. * testsuite/20_util/ratio/operations/ops1.cc: Likewise. * testsuite/20_util/ratio/operations/ops2.cc: Likewise. * testsuite/20_util/ratio/operations/ops3.cc: Likewise. * testsuite/20_util/ratio/operations/ops_overflow.cc: Likewise. * testsuite/20_util/ratio/comparisons/comp1.cc: Likewise. * testsuite/20_util/ratio/comparisons/comp2.cc: Likewise. * include/std/type_traits: Fix comment typo. From-SVN: r137612 |
||
Paolo Carlini
|
ea31932d53 |
[multiple changes]
2008-07-05 Paolo Carlini <paolo.carlini@oracle.com> * include/std/ratio: Prefer __INTMAX_MAX__ to INTMAX_MAX (INTMAX_MIN). 2008-07-05 Chris Fairles <chris.fairles@gmail.com> * include/std/ratio: Documentation for std::ratio class. Add conditions to ratio_less to prevent overflow. * testsuite/20_util/ratio/comparisons/comp2.cc: New. * testsuite/20_util/ratio/cons/cons_overflow.cc: Update dg-error line numbers. From-SVN: r137504 |
||
Chris Fairles
|
4acedca122 |
ratio: New, per N2661.
2008-07-04 Chris Fairles <chris.fairles@gmail.com> * include/std/ratio: New, per N2661. * include/Makefile.am: Update. * include/Makefile.in: Regenerate. * testsuite/20_util/ratio/cons/cons1.cc: New. * testsuite/20_util/ratio/cons/cons_overflow.cc: Likewise. * testsuite/20_util/ratio/operations/ops1.cc: Likewise. * testsuite/20_util/ratio/operations/ops2.cc: Likewise. * testsuite/20_util/ratio/operations/ops3.cc: Likewise. * testsuite/20_util/ratio/operations/ops_overflow.cc: Likewise. * testsuite/20_util/ratio/comparisons/comp1.cc: Likewise. From-SVN: r137482 |
||
Paolo Carlini
|
b03717765d |
stl_algo.h (copy_n): Add in C++0x mode.
2008-06-29 Paolo Carlini <paolo.carlini@oracle.com> * include/bits/stl_algo.h (copy_n): Add in C++0x mode. * include/bits/algorithmfwd.h: Add. * include/bits/stl_uninitialized.h (uninitialized_copy_n): Add in C++0x mode. * testsuite/20_util/specialized_algorithms/uninitialized_copy_n/ move_iterators/1.cc: New * testsuite/25_algorithms/headers/algorithm/synopsis.cc: Update. * testsuite/25_algorithms/copy_n/1.cc: New. * testsuite/25_algorithms/copy_n/2.cc: Likewise. * testsuite/25_algorithms/copy_n/3.cc: Likewise. * testsuite/25_algorithms/copy_n/4.cc: Likewise. * testsuite/25_algorithms/copy_n/move_iterators/1.cc: Likewise. * testsuite/25_algorithms/copy_n/requirements/ explicit_instantiation/2.cc: Likewise. * testsuite/25_algorithms/partition_point/requirements/ explicit_instantiation/pod.cc: Likewise. From-SVN: r137251 |
||
Chris Fairles
|
b3754f1bec |
pointer_array.cc: New.
2008-06-26 Chris Fairles <chris.fairles@gmail.com> * testsuite/20_util/unique_ptr/cons/pointer_array.cc: New. * testsuite/20_util/unique_ptr/cons/pointer.cc: Likewise. * testsuite/20_util/unique_ptr/cons/pointer_array_convertible.cc: Likewise. * testsuite/20_util/unique_ptr/assign/move_array.cc: Likewise. * testsuite/20_util/unique_ptr/assign/move.cc: Likewise. * testsuite/20_util/unique_ptr/specialized_algorithms/ comparisons_array.cc: Likewise. * testsuite/20_util/unique_ptr/specialized_algorithms/comparisons.cc: Likewise * testsuite/20_util/unique_ptr/specialized_algorithms/swap.cc: Likewise. From-SVN: r137147 |
||
Paolo Carlini
|
ca0f8fd1ee |
[multiple changes]
2008-06-21 Paolo Carlini <paolo.carlini@oracle.com> * include/bits/stl_move.h: Rename to move.h. * include/std/utility: Adjust. * include/ext/vstring_util.h: Likewise. * include/ext/throw_allocator.h: Likewise. * include/ext/pool_allocator.h: Likewise. * include/ext/bitmap_allocator.h: Likewise. * include/ext/new_allocator.h: Likewise. * include/ext/malloc_allocator.h: Likewise. * include/ext/array_allocator.h: Likewise. * include/ext/mt_allocator.h: Likewise. * include/bits/stl_algobase.h: Likewise. * include/bits/stl_heap.h: Likewise. * include/bits/stl_pair.h: Likewise. * include/bits/stl_iterator.h: Likewise. * testsuite/util/testsuite_allocator.h: Likewise. * testsuite/util/testsuite_iterators.h: Likewise. * include/Makefile.am: Likewise. * include/Makefile.in: Regenerate. 2008-06-21 Chris Fairles <chris.fairles@gmail.com> * include/bits/unique_ptr.h: New. * include/std/memory: Adjust. * include/Makefile.am: Add. * testsuite/20_util/unique_ptr/requirements/explicit_instantiation/ explicit_instantiation.cc: New. * testsuite/20_util/unique_ptr/assign/assign.cc: Likewise. * include/Makefile.in: Regenerate. From-SVN: r137003 |
||
Paolo Carlini
|
5fb0445da6 |
PR c++/33979 (partial)
2008-05-20 Paolo Carlini <paolo.carlini@oracle.com> PR c++/33979 (partial) * include/tr1_impl/functional_hash.h (hash<char16_t>, hash<char32_t>): Add specializations. * include/tr1_impl/type_traits (is_integral<char16_t>, is_integral<char32_t>): Likewise. * include/std/limits (numeric_limits<char16_t>, numeric_limits<char32_t>): Likewise. * src/limits_c++0x.cc: Add. * src/Makefile.am: Update. * testsuite/20_util/hash/requirements/explicit_instantiation.cc: Update. * testsuite/20_util/is_integral/value.cc: New. * testsuite/20_util/is_integral/requirements/typedefs.cc: Likewise. * testsuite/20_util/is_integral/requirements/ explicit_instantiation.cc: Likewise. * testsuite/18_support/numeric_limits/char16_32_t.cc: Likewise. * config/abi/pre/gnu.ver: Export new numeric_limits symbols at GLIBCXX_3.4.11. * configure: Regenerate. * src/Makefile.in: Likewise. * config.h.in: Likewise. From-SVN: r135668 |
||
Benjamin Kosnik
|
ce72d1aa87 |
typedefs-1.cc: Correct requirements.
2008-05-05 Benjamin Kosnik <bkoz@redhat.com> * 20_util/make_signed/requirements/typedefs-1.cc: Correct requirements. * 20_util/make_unsigned/requirements/typedefs-1.cc: Same. From-SVN: r134948 |
||
Benjamin Kosnik
|
939759fcc9 |
run_doxygen: Remove html_output_dir.
2008-03-25 Benjamin Kosnik <bkoz@redhat.com> * scripts/run_doxygen: Remove html_output_dir. Downgrade to Doxygen 1.5.1. * doc/doxygen/style.css: Delete. * doc/doxygen/user.cfg.in: Regenerate with Doxygen 1.5.1. (INPUT): Update. (PREDEFINED): Update. (HTML_OUTPUT): Remove html_output_dir, use html. (HTML_STYLESHEET): Remove style.css. * doc/doxygen/tables.html: Remove style.css use. * doc/doxygen/mainpage.html: Nested lists for Namespaces and Classes. * doc/doxygen/doxygroups.cc: Namespace edits. * doc/doxygen/Intro.3: Correct typo. * doc/xml/api.xml: Add gcc-4.3 links. * doc/html/api.html: Regenerate. * include/debug/debug.h: Document namepaces here. * include/parallel/base.h: Same. * include/ext/typelist.h: Same. * include/ext/pb_ds/tag_and_trait.hpp: Same. * include/tr1_impl/random: Adjust line break. * include/tr1_impl/unordered_map: Correct and or add markup. * include/tr1_impl/boost_shared_ptr.h: Correct and or add markup. * include/tr1_impl/functional_hash.h: Same. * include/tr1_impl/cmath: Same. * include/tr1_impl/functional: Same. * include/tr1_impl/unordered_set: Same. * include/tr1_impl/complex: Same. * include/tr1_impl/type_traits: Same. * include/tr1_impl/regex: Same. * include/tr1_impl/array: Same. * include/std/tuple: Same. * include/std/date_time: Same. * include/std/system_error: Same. * include/std/type_traits: Same. * include/ext/enc_filebuf.h: Same. * include/ext/throw_allocator.h: Same. * include/ext/pool_allocator.h: Same. * include/ext/bitmap_allocator.h: Same. * include/ext/concurrence.h: Same. * include/ext/codecvt_specializations.h: Same. * include/ext/stdio_sync_filebuf.h: Same. * include/ext/array_allocator.h: Same. * include/ext/mt_allocator.h: Same. * include/bits/locale_classes.h: Same. * include/bits/locale_facets.h: Same. * include/bits/codecvt.h: Same. * include/bits/char_traits.h: Same. * include/bits/allocator.h: Same. * include/bits/locale_facets_nonio.h: Same. * include/tr1/poly_laguerre.tcc: Same. * include/tr1/riemann_zeta.tcc: Same. * include/tr1/beta_function.tcc: Same. * include/tr1/tuple: Same. * include/tr1/exp_integral.tcc: Same. * include/tr1/gamma.tcc: Same. * include/tr1/hypergeometric.tcc: Same. * include/tr1/modified_bessel_func.tcc: Same. * include/tr1/legendre_function.tcc: Same. * include/tr1/type_traits: Same. * include/tr1/special_function_util.h: Same. * include/tr1/bessel_function.tcc: Same. * include/tr1/cmath: Same. * include/tr1/poly_hermite.tcc: Same. * include/tr1/ell_integral.tcc: Same. * config/abi/compatibility.h: Adjust file name. * testsuite/19_diagnostics/error_category/cons/copy_neg.cc: Adjust line numbers. * testsuite/20_util/make_signed/requirements/typedefs_neg.cc: Same. * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc: Same. From-SVN: r133544 |
||
Chris Jefferson
|
230636fe5e |
re PR libstdc++/35480 (Relational operators for <tr1/tuple> don't error on different sized tuples)
2008-03-06 Chris Jefferson <chris@bubblescope.net> Paolo Carlini <pcarlini@suse.de> PR libstdc++/35480 * include/tr1/tuple (operator==, operator<): Fix. * include/std/tuple (operator==, operator<): Likewise. * testsuite/tr1/6_containers/tuple/comparison_operators/35480.cc: New. * testsuite/20_util/tuple/comparison_operators/35480.cc: Likewise. Co-Authored-By: Paolo Carlini <pcarlini@suse.de> From-SVN: r132983 |
||
Hans-Peter Nilsson
|
92331508a6 |
shared_ptr_neg.cc, [...]: Mark changed error message prelude...
* testsuite/20_util/shared_ptr/assign/shared_ptr_neg.cc, testsuite/tr1/2_general_utilities/shared_ptr/assign/shared_ptr_neg.cc: Mark changed error message prelude, adding "in file included from", using dg-excess-errors. From-SVN: r132816 |
||
Paolo Carlini
|
b5b5e640fc |
[multiple changes]
2008-02-18 Pedro Lamarao <pedro.lamarao@mndfck.org> * include/std/tuple: Fixes for moveable, non-copyable types. * testsuite/20_util/tuple/moveable2.cc: New. 2008-02-18 Paolo Carlini <pcarlini@suse.de> * include/std/tuple (operator+(tuple<>&&, tuple<>&&): Remove. From-SVN: r132389 |
||
Paolo Carlini
|
395c9e79f0 |
3983-2.cc: Avoid -Wall warnings.
2008-01-31 Paolo Carlini <pcarlini@suse.de> * testsuite/27_io/basic_istream/extractors_character/pod/3983-2.cc: Avoid -Wall warnings. * testsuite/22_locale/global_templates/user_facet_hierarchies.cc: Likewise. * testsuite/22_locale/global_templates/standard_facet_hierarchies.cc: Likewise. * testsuite/tr1/6_containers/hash/operators/size_t.cc: Likewise. * testsuite/tr1/6_containers/tuple/cons/big_tuples.cc: Likewise. * testsuite/tr1/6_containers/tuple/cons/constructor.cc: Likewise. * testsuite/tr1/6_containers/array/cons/aggregate_initialization.cc: Likewise. * testsuite/tr1/6_containers/array/requirements/contiguous.cc: Likewise. * testsuite/tr1/6_containers/array/requirements/member_swap.cc: Likewise. * testsuite/tr1/6_containers/array/requirements/assign.cc: Likewise. * testsuite/tr1/6_containers/array/specialized_algorithms/swap.cc: Likewise. * testsuite/tr1/6_containers/array/comparison_operators/ less_or_equal.cc: Likewise. * testsuite/tr1/6_containers/array/comparison_operators/ greater_or_equal.cc: Likewise. * testsuite/tr1/6_containers/array/comparison_operators/less.cc: Likewise. * testsuite/tr1/6_containers/array/comparison_operators/equal.cc: Likewise. * testsuite/tr1/6_containers/array/comparison_operators/not_equal.cc: Likewise. * testsuite/tr1/6_containers/array/comparison_operators/greater.cc: Likewise. * testsuite/tr1/6_containers/array/tuple_interface/get.cc: Likewise. * testsuite/tr1/6_containers/array/element_access/at_out_of_range.cc: Likewise. * testsuite/tr1/6_containers/array/element_access/back.cc: Likewise. * testsuite/tr1/6_containers/array/element_access/front.cc: Likewise. * testsuite/tr1/6_containers/array/element_access/data.cc: Likewise. * testsuite/tr1/6_containers/array/iterators/end_is_one_past.cc: Likewise. * testsuite/tr1/6_containers/array/capacity/empty.cc: Likewise. * testsuite/tr1/6_containers/array/capacity/max_size.cc: Likewise. * testsuite/tr1/6_containers/array/capacity/size.cc: Likewise. * testsuite/thread/guard.cc: Likewise. * testsuite/20_util/tuple/cons/big_tuples.cc: Likewise. * testsuite/20_util/tuple/cons/constructor.cc: Likewise. * testsuite/20_util/shared_ptr/creation/dr402.cc: Likewise. * testsuite/20_util/shared_ptr/creation/make.cc: Likewise. * testsuite/20_util/shared_ptr/creation/alloc.cc: Likewise. * testsuite/20_util/shared_ptr/thread/mutex_weaktoshared.cc: Likewise. * testsuite/20_util/shared_ptr/thread/default_weaktoshared.cc: Likewise. From-SVN: r131979 |
||
Benjamin Kosnik
|
4312e020f1 |
[multiple changes]
2008-01-18 Benjamin Kosnik <bkoz@redhat.com> * docs/*: To... * doc/*: ...here. * testsuite/Makefile.am: Move doc-performance to... * Makefile.am: Add doc to SUBDIRS, move doxygen-* rules to... * doc/Makefile.am: Consolidate documentation creation here. (doc-doxygen-html): New. (doc-doxygen-man): New. (doc-performance): New. * doc/Makefile.in: New. * acinclude.m4 (glibcxx_SUBDIRS): Add doc directory. * doc/doxygen/guide.html: Edit for unified html configuration. * doc/doxygen/mainpage.html: Same. * doc/doxygen/run_doxygen: Same, more namespace fixups for man generation. * doc/doxygen/user.cfg.in: Update for doxygen 1.5.4. * include/tr1_impl/random: Remove maint from doxygen markup. * include/tr1_impl/functional: Same. * include/std/tuple: Same. * include/std/streambuf: Same. * include/std/bitset: Same. * include/std/limits: Same. * include/std/fstream: Same. * include/std/istream: Same. * include/std/sstream: Same. * include/ext/pool_allocator.h: Same. * include/ext/rc_string_base.h: Same. * include/bits/basic_ios.h: Same. * include/bits/stl_list.h: Same. * include/bits/stl_map.h: Same. * include/bits/locale_classes.h: Same. * include/bits/stl_set.h: Same. * include/bits/stl_iterator_base_types.h: Same. * include/bits/basic_string.h: Same. * include/bits/stl_multimap.h: Same. * include/bits/stl_vector.h: Same. * include/bits/ios_base.h: Same. * include/bits/stl_deque.h: Same. * include/bits/postypes.h: Same. * include/bits/stl_multiset.h: Same. * include/bits/stl_algo.h: Same. * include/bits/stl_iterator.h: Same. * include/bits/stl_tempbuf.h: Same. * include/bits/stl_construct.h: Same. * include/bits/stl_relops.h: Same. * include/tr1/tuple: Same. * include/backward/auto_ptr.h: Same. * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc: Fixups for line number changes. * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc: Same. * testsuite/23_containers/vector/requirements/dr438/ constructor_1_neg.cc: Same. * testsuite/23_containers/vector/requirements/dr438/ constructor_2_neg.cc: Same. * testsuite/23_containers/deque/requirements/dr438/assign_neg.cc: Same. * testsuite/23_containers/deque/requirements/dr438/insert_neg.cc: Same. * testsuite/23_containers/deque/requirements/dr438/ constructor_1_neg.cc: Same. * testsuite/23_containers/deque/requirements/dr438/ constructor_2_neg.cc: Same. * testsuite/23_containers/list/requirements/dr438/assign_neg.cc: Same. * testsuite/23_containers/list/requirements/dr438/insert_neg.cc: Same. * testsuite/23_containers/list/requirements/dr438/ constructor_1_neg.cc: Same. * testsuite/23_containers/list/requirements/dr438/ constructor_2_neg.cc: Same. * testsuite/20_util/auto_ptr/assign_neg.cc: Same. * aclocal.m4: Regenerate. * config.h.in: Regenerate. * configure: Regenerate. * Makefile.in: Regenerate. * src/Makefile.in: Regenerate. * po/Makefile.in: Regenerate. * libmath/Makefile.in: Regenerate. * include/Makefile.in: Regenerate. * libsupc++/Makefile.in: Regenerate. * testsuite/Makefile.in: Regenerate. * scripts/make_graphs.py: Correct paths for new layout. 2008-01-17 Benjamin Kosnik <bkoz@redhat.com> * acinclude.m4 (AC_LC_MESSAGES): Remove serial. * linkage.m4 (AC_REPLACE_MATHFUNCS): Same. * configure: Regenerate. * aclocal.m4: Regenerate. From-SVN: r131625 |
||
Paolo Carlini
|
ba60f6f952 |
tuple (_Tuple_impl<>::_Tuple_impl(typename std::remove_reference<>::type&&, typename std::remove_reference<>::type&&...), [...]): Add.
2007-12-30 Paolo Carlini <pcarlini@suse.de> * include/std/tuple (_Tuple_impl<>::_Tuple_impl(typename std::remove_reference<>::type&&, typename std::remove_reference<>::type&&...), _Tuple_impl(const _Tuple_impl<>&), _Tuple_impl(_Tuple_impl&&), _Tuple_impl(_Tuple_impl<>&&), operator=(_Tuple_impl&&), operator=(const _Tuple_impl<>&), operator=(_Tuple_impl<>&&)): Add. (tuple<>::tuple(const _Elements&...), tuple(_UElements&&...), tuple(tuple&&), tuple(const tuple<>&), tuple(tuple<>&&), operator=(tuple&&), operator=(const tuple<>&), operator=(tuple<>&&)): Likewise. (tuple<_T1, _T2>::tuple(const _T1&, const _T2&, tuple(_U1&&, _U2&&), tuple(tuple&&), tuple(tuple<>&&), tuple(pair<>&&), operator=(tuple&&), operator=(tuple<>&&), operator=(pair<>&&)): Likewise. (tuple<>::tuple(typename __add_c_ref<_Elements>::type...), tuple<_T1, _T2>::tuple(typename __add_c_ref<>::type, typename __add_c_ref<>::type)): Remove. * testsuite/tr1/6_containers/tuple/creation_functions/tie2.cc: New. * testsuite/20_util/tuple/creation_functions/tie2.cc: Likewise. * testsuite/20_util/tuple/moveable.cc: Likewise. From-SVN: r131230 |
||
Paolo Carlini
|
a1c1054b55 |
big_tuples.cc: New.
2007-12-24 Paolo Carlini <pcarlini@suse.de> * testsuite/20_util/tuple/cons/big_tuples.cc: New. * testsuite/20_util/tuple/cons/constructor.cc: Likewise. * testsuite/20_util/tuple/cons/assignment.cc: Likewise. * testsuite/20_util/tuple/tuple_element.cc: Likewise. * testsuite/20_util/tuple/tuple_size.cc: Likewise. * testsuite/20_util/tuple/comparison_operators/comparisons.cc: Likewise. * testsuite/20_util/tuple/element_access/get.cc: Likewise. * testsuite/20_util/tuple/creation_functions/23978.cc: Likewise. * testsuite/20_util/tuple/creation_functions/tie.cc: Likewise. * testsuite/20_util/tuple/creation_functions/make_tuple.cc: Likewise. * testsuite/20_util/tuple/requirements/explicit_instantiation.cc: Fix header file and namespace. * testsuite/tr1/6_containers/tuple/cons/big_tuples.cc: Minor tweaks. * testsuite/tr1/6_containers/tuple/cons/constructor.cc: Likewise. * testsuite/tr1/6_containers/tuple/cons/assignment.cc: Likewise. * testsuite/tr1/6_containers/tuple/tuple_element.cc: Likewise. * testsuite/tr1/6_containers/tuple/tuple_size.cc: Likewise. * testsuite/tr1/6_containers/tuple/comparison_operators/ comparisons.cc: Likewise. * testsuite/tr1/6_containers/tuple/element_access/get.cc: Likewise. * testsuite/tr1/6_containers/tuple/creation_functions/tie.cc: Likewise. * testsuite/tr1/6_containers/tuple/creation_functions/make_tuple.cc: Likewise. From-SVN: r131159 |
||
Jonathan Wakely
|
dbf3a49233 |
default_weaktoshared.cc: Add required dg-option for cygwin and darwin targets.
2007-12-16 Jonathan Wakely <jwakely-gcc@gmail.com> * testsuite/20_util/shared_ptr/thread/default_weaktoshared.cc: Add required dg-option for cygwin and darwin targets. * testsuite/20_util/shared_ptr/thread/mutex_weaktoshared.cc: Likewise. From-SVN: r130995 |
||
Jonathan Wakely
|
aaf0ca6f27 |
boost_shared_ptr.h: Add support for allocators, aliasing, make_shared and rvalue-references.
2007-12-15 Jonathan Wakely <jwakely-gcc@gmail.com> * include/tr1_impl/boost_shared_ptr.h: Add support for allocators, aliasing, make_shared and rvalue-references. Move __shared_count and _Sp_counted_* classes to new headers. * include/tr1_impl/boost_sp_counted_base.h: New. * include/bits/boost_sp_shared_count.h: New. * include/tr1/boost_sp_shared_count.h: New. * include/std/memory, include/tr1/memory: Include new headers. * include/Makefile.am: Adjust. * include/Makefile.in: Regenerate. * docs/html/documentation.html: Link to shared_ptr notes. * docs/html/20_util/shared_ptr.html: New. * docs/html/17_intro/c++0x_status.html: Update shared_ptr status. * testsuite/20_util/shared_ptr/cons/alias.cc: New. * testsuite/20_util/shared_ptr/cons/alloc.cc: Likewise. * testsuite/20_util/shared_ptr/cons/move.cc: Likewise. * testsuite/20_util/shared_ptr/assign/move.cc: Likewise. * testsuite/20_util/shared_ptr/creation/alloc.cc: Likewise. * testsuite/20_util/shared_ptr/creation/make.cc: Likewise. * testsuite/20_util/shared_ptr/creation/dr402.cc: Likewise. * testsuite/20_util/shared_ptr/modifiers/reset_alloc.cc: Likewise. * testsuite/20_util/shared_ptr/assign/assign.cc: Duplicate tr1 test. * testsuite/20_util/shared_ptr/assign/auto_ptr.cc: Likewise. * testsuite/20_util/shared_ptr/assign/auto_ptr_neg.cc: Likewise. * testsuite/20_util/shared_ptr/assign/auto_ptr_rvalue_neg.cc: Likewise. * testsuite/20_util/shared_ptr/assign/dr541.cc: Likewise. * testsuite/20_util/shared_ptr/assign/shared_ptr.cc: Likewise. * testsuite/20_util/shared_ptr/assign/shared_ptr_neg.cc: Likewise. * testsuite/20_util/shared_ptr/casts/1.cc: Likewise. * testsuite/20_util/shared_ptr/comparison/cmp.cc: Likewise. * testsuite/20_util/shared_ptr/cons/auto_ptr.cc: Likewise. * testsuite/20_util/shared_ptr/cons/auto_ptr_neg.cc: Likewise. * testsuite/20_util/shared_ptr/cons/copy.cc: Likewise. * testsuite/20_util/shared_ptr/cons/default.cc: Likewise. * testsuite/20_util/shared_ptr/cons/pointer.cc: Likewise. * testsuite/20_util/shared_ptr/cons/weak_ptr.cc: Likewise. * testsuite/20_util/shared_ptr/cons/weak_ptr_expired.cc: Likewise. * testsuite/20_util/shared_ptr/dest/dest.cc: Likewise. * testsuite/20_util/shared_ptr/misc/24595.cc: Likewise. * testsuite/20_util/shared_ptr/misc/io.cc: Likewise. * testsuite/20_util/shared_ptr/misc/swap.cc: Likewise. * testsuite/20_util/shared_ptr/modifiers/24805.cc: Likewise. * testsuite/20_util/shared_ptr/modifiers/reset.cc: Likewise. * testsuite/20_util/shared_ptr/modifiers/reset_neg.cc: Likewise. * testsuite/20_util/shared_ptr/modifiers/swap.cc: Likewise. * testsuite/20_util/shared_ptr/modifiers/swap_neg.cc: Likewise. * testsuite/20_util/shared_ptr/observers/bool_conv.cc: Likewise. * testsuite/20_util/shared_ptr/observers/get.cc: Likewise. * testsuite/20_util/shared_ptr/observers/unique.cc: Likewise. * testsuite/20_util/shared_ptr/observers/use_count.cc: Likewise. * testsuite/20_util/shared_ptr/thread/default_weaktoshared.cc: Likewise. * testsuite/20_util/shared_ptr/thread/mutex_weaktoshared.cc: Likewise. * testsuite/20_util/shared_ptr/requirements/explicit_instantiation/ 1.cc: Likewise. * testsuite/20_util/shared_ptr/requirements/explicit_instantiation/ 2.cc: Likewise. * testsuite/20_util/shared_ptr/requirements/explicit_instantiation.cc: Remove. * testsuite/20_util/weak_ptr/lock/1.cc: Duplicate tr1 test. * testsuite/20_util/weak_ptr/requirements/explicit_instantiation/1.cc: Likewise. * testsuite/20_util/weak_ptr/requirements/explicit_instantiation/2.cc: Likewise. * testsuite/20_util/weak_ptr/requirements/explicit_instantiation.cc: Remove. From-SVN: r130977 |
||
Paolo Carlini
|
7919bb2fba |
[multiple changes]
2007-12-10 Paolo Carlini <pcarlini@suse.de> * testsuite/25_algorithms/nth_element/2.cc: Avoid -Wall warnings. * testsuite/27_io/basic_streambuf/sgetc/wchar_t/1.cc: Likewise. * testsuite/27_io/basic_streambuf/sgetc/char/1.cc: Likewise. * testsuite/27_io/basic_stringbuf/sgetn/wchar_t/1.cc: Likewise. * testsuite/27_io/basic_stringbuf/sgetn/char/1.cc: Likewise. * testsuite/27_io/basic_stringbuf/sbumpc/wchar_t/1.cc: Likewise. * testsuite/27_io/basic_stringbuf/sbumpc/char/1.cc: Likewise. * testsuite/27_io/basic_stringbuf/snextc/wchar_t/1.cc: Likewise. * testsuite/27_io/basic_stringbuf/snextc/char/1.cc: Likewise. * testsuite/27_io/basic_istream/peek/wchar_t/12296.cc: Likewise. * testsuite/27_io/basic_ostream/inserters_character/wchar_t/ 28277-2.cc: Likewise. * testsuite/27_io/basic_ostream/inserters_character/wchar_t/ 28277-3.cc: Likewise. * testsuite/27_io/basic_ostream/inserters_character/wchar_t/ 28277-4.cc: Likewise. * testsuite/27_io/basic_ostream/inserters_character/char/ 28277-3.cc: Likewise. * testsuite/27_io/basic_ostream/inserters_character/char/ 28277-4.cc: Likewise. * testsuite/19_diagnostics/error_code/operators/bool.cc: Likewise. * testsuite/19_diagnostics/error_code/operators/bool_neg.cc: Likewise. * testsuite/18_support/headers/cstddef/macros.cc: Likewise. * testsuite/21_strings/basic_string/inserters_extractors/ wchar_t/28277.cc: Likewise. * testsuite/21_strings/basic_string/inserters_extractors/ char/28277.cc: Likewise. * testsuite/26_numerics/headers/cmath/25913.cc: Likewise. * testsuite/ext/pb_ds/example/priority_queue_xref.cc: Likewise. * testsuite/ext/vstring/inserters_extractors/wchar_t/28277.cc: Likewise. * testsuite/ext/vstring/inserters_extractors/char/28277.cc: Likewise. * testsuite/ext/enc_filebuf/char/13598.cc: Likewise. * testsuite/22_locale/collate/compare/char/2.cc: Likewise. * testsuite/22_locale/time_put/put/wchar_t/5.cc: Likewise. * testsuite/22_locale/time_put/put/char/5.cc: Likewise. * testsuite/22_locale/time_put/put/char/6.cc: Likewise. * testsuite/22_locale/time_put/put/char/7.cc: Likewise. * testsuite/22_locale/time_put/put/char/8.cc: Likewise. * testsuite/22_locale/codecvt/unshift/char/1.cc: Likewise. * testsuite/22_locale/codecvt/length/char/1.cc: Likewise. * testsuite/22_locale/codecvt/length/char/2.cc: Likewise. * testsuite/22_locale/codecvt/in/wchar_t/9.cc: Likewise. * testsuite/22_locale/codecvt/in/char/1.cc: Likewise. * testsuite/22_locale/codecvt/out/char/1.cc: Likewise. * testsuite/22_locale/num_get/get/wchar_t/1.cc: Likewise. * testsuite/22_locale/num_get/get/char/1.cc: Likewise. * testsuite/tr1/5_numerical_facilities/random/uniform_int/ 33128.cc: Likewise. * testsuite/tr1/2_general_utilities/shared_ptr/thread/ mutex_weaktoshared.cc: Likewise. * testsuite/tr1/2_general_utilities/shared_ptr/thread/ default_weaktoshared.cc: Likewise. * testsuite/tr1/7_regular_expressions/basic_regex/assign/wchar_t/ range.cc: Likewise. * testsuite/tr1/7_regular_expressions/basic_regex/assign/char/ range.cc: Likewise. * testsuite/tr1/7_regular_expressions/basic_regex/ctors/wchar_t/ range.cc: Likewise. * testsuite/tr1/7_regular_expressions/basic_regex/ctors/char/ range.cc: Likewise. * testsuite/23_containers/multimap/operations/1.cc: Likewise. * testsuite/23_containers/set/operations/1.cc: Likewise. * testsuite/23_containers/vector/bool/capacity/29134.cc: Likewise. * testsuite/23_containers/deque/modifiers/erase/1.cc: Likewise. * testsuite/23_containers/deque/modifiers/erase/2.cc: Likewise. * testsuite/23_containers/multiset/operations/1.cc: Likewise. * testsuite/23_containers/map/operations/1.cc: Likewise. * testsuite/util/testsuite_hooks.cc: Likewise. * testsuite/util/testsuite_rvalref.h: Likewise. 2007-12-10 Jakub Jelinek <jakub@redhat.com> * include/ext/throw_allocator.h (print_to_string): Change sprintf format to %lu and cast ref.second.{first,second} to long. * include/debug/safe_iterator.tcc (_M_can_advance): Add parens to avoid warnings. From-SVN: r130743 |
||
Paolo Carlini
|
cbc6c888f9 |
stl_deque.h (deque<>::operator=(deque&&)): Implement resolution of DR 675, call clear first.
2007-11-09 Paolo Carlini <pcarlini@suse.de> * include/bits/stl_deque.h (deque<>::operator=(deque&&)): Implement resolution of DR 675, call clear first. * include/bits/stl_list.h (list<>::operator=(list&&)): Likewise. * include/bits/stl_bvector.h (vector<bool>::operator=(vector&&)): Likewise. * include/bits/stl_vector.h (vector<>::operator=(vector&&)): Likewise. * include/bits/stl_map.h (map<>::operator=(map&&)): Likewise. * include/bits/stl_multimap.h (multimap<>::operator=(multimap&&)): Likewise. * include/bits/stl_multiset.h (multiset<>::operator=(multiset&&)): Likewise. * include/bits/stl_set.h (set<>::operator=(set&&)): Likewise. * include/debug/map.h (map<>::operator=(map&&)): Likewise. * include/debug/set.h (set<>::operator=(set&&)): Likewise. * include/debug/multimap.h (multimap<>::operator=(multimap&&)): Likewise. * include/debug/multiset.h (multiset<>::operator=(multiset&&)): Likewise. * include/debug/deque (deque<>::operator=(deque&&)): Likewise. * include/debug/list (list<>::operator=(list&&)): Likewise. * include/debug/vector (vector<>::operator=(vector&&)): Likewise. * testsuite/23_containers/multimap/moveable.cc: Adjust. * testsuite/23_containers/multiset/moveable.cc: Likewise. * testsuite/23_containers/set/moveable.cc: Likewise. * testsuite/23_containers/map/moveable.cc: Likewise. * testsuite/20_util/pair/moveable.cc: Likewise. * testsuite/23_containers/deque/requirements/dr438/assign_neg.cc: Adjust dg-error line numbers. * testsuite/23_containers/deque/requirements/dr438/insert_neg.cc: Likewise. * testsuite/23_containers/deque/requirements/dr438/ constructor_1_neg.cc: Likewise. * testsuite/23_containers/deque/requirements/dr438/ constructor_2_neg.cc: Likewise. * testsuite/23_containers/list/requirements/dr438/assign_neg.cc: Likewise. * testsuite/23_containers/list/requirements/dr438/insert_neg.cc: Likewise. * testsuite/23_containers/list/requirements/dr438/ constructor_1_neg.cc: Likewise. * testsuite/23_containers/list/requirements/dr438/ constructor_2_neg.cc: Likewise. * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc: Likewise. * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc: Likewise. * testsuite/23_containers/vector/requirements/dr438/ constructor_1_neg.cc: Likewise. * testsuite/23_containers/vector/requirements/dr438/ constructor_2_neg.cc: Likewise. From-SVN: r130051 |
||
Paolo Carlini
|
ce796131e1 |
type_traits (__decay_selector<_Up, [...]): Change according to DR 705.
2007-11-08 Paolo Carlini <pcarlini@suse.de> * include/std/type_traits (__decay_selector<_Up, false, false>): Change according to DR 705. * include/bits/stl_pair.h (make_pair(_T1&&, _T2&&)): Change according to DR 706. * include/tr1_impl/tuple: Tweak. From-SVN: r130001 |
||
Paolo Carlini
|
e85b4fa7b5 |
stl_uninitialized.h (uninitialized_copy): Use ::new and value_type per the letter of the standard.
2007-10-28 Paolo Carlini <pcarlini@suse.de> * include/bits/stl_uninitialized.h (uninitialized_copy): Use ::new and value_type per the letter of the standard. * testsuite/20_util/specialized_algorithms/uninitialized_copy/ move_iterators/1.cc: New. * testsuite/20_util/specialized_algorithms/16505.cc: Move to... * testsuite/20_util/specialized_algorithms/uninitialized_fill_n/ 16505.cc: ... here. * testsuite/20_util/specialized_algorithms/32158.cc: Move to... * testsuite/20_util/specialized_algorithms/uninitialized_fill/ 32158.cc: ... here. * include/bits/stl_construct.h (_Construct(_T1*)): Remove, unused. From-SVN: r129698 |
||
Paolo Carlini
|
741e7594be |
re PR libstdc++/33807 (Incorrect ambiguous overload)
2007-10-18 Paolo Carlini <pcarlini@suse.de> PR libstdc++/33807 * include/bits/allocator.h (operator==(const allocator<_Tp>&, const allocator<_Tp>&), operator!=(const allocator<_Tp>&, const allocator<_Tp>&)): Add. * testsuite/20_util/allocator/33807.cc: New. From-SVN: r129434 |
||
Paolo Carlini
|
e14e932bbb |
stl_algobase.h (swap): Move...
2007-10-10 Paolo Carlini <pcarlini@suse.de> Chris Fairles <chris.fairles@gmail.com> * include/bits/stl_algobase.h (swap): Move... * include/bits/stl_move.h: ... here. * include/bits/stl_pair.h (pair<>::pair(_U1&&, _U2&&), pair<>::pair(pair<>&&), pair<>::operator=(pair<>&&), pair<>::swap(pair&&), swap(&, &), swap(&&, &), swap(&, &&), make_pair(_T1&&, _T2&&)): Add. * testsuite/20_util/pair/swap.cc: Add. Co-Authored-By: Chris Fairles <chris.fairles@gmail.com> From-SVN: r129198 |
||
Paolo Carlini
|
6c5f0578d9 |
[multiple changes]
2007-10-08 Paolo Carlini <pcarlini@suse.de> * include/std/utility (identity, move, forward): Move to... * include/bits/stl_move.h: ... here. * include/Makefile.am: Add. * include/bits/stl_algobase.h: Include the latter. * include/Makefile.in: Regenerate. * testsuite/20_util/pair/moveable.cc: Remove dg-require-rvalref. 2007-10-08 Chris Jefferson <chris@bubblescope.net> Paolo Carlini <pcarlini@suse.de> * include/bits/stl_pair.h (pair<>:pair(pair&&), pair<>::operator=(pair&&)): Add. From-SVN: r129123 |
||
Chris Jefferson
|
f5783e34f9 |
moveable.cc: New.
2007-10-03 Chris Jefferson <chris@bubblescope.net> Benjamin Kosnik <bkoz@redhat.com> * testsuite/20_util/pair/moveable.cc: New. Merge from libstdcxx_so_7-branch. * testsuite/23_containers/deque/capacity/moveable.cc: Same. * testsuite/23_containers/deque/cons/moveable.cc: Same. * testsuite/23_containers/deque/modifiers/moveable.cc: Same. * testsuite/23_containers/deque/moveable.cc: Same. * testsuite/23_containers/list/moveable.cc: Same. * testsuite/23_containers/map/moveable.cc: Same. * testsuite/23_containers/multimap/moveable.cc: Same. * testsuite/23_containers/multiset/moveable.cc: Same. * testsuite/23_containers/set/moveable.cc: Same. * testsuite/23_containers/vector/cons/moveable.cc: Same. * testsuite/23_containers/vector/modifiers/moveable.cc: Same. * testsuite/23_containers/vector/moveable.cc: Same. * testsuite/23_containers/vector/resize/moveable.cc: Same. * testsuite/25_algorithms/heap/moveable.cc: Same. * testsuite/25_algorithms/nth_element/moveable.cc: Same. * testsuite/25_algorithms/partial_sort/moveable.cc: Same. * testsuite/25_algorithms/partition/moveable.cc: Same. * testsuite/25_algorithms/remove_if/moveable.cc: Same. * testsuite/25_algorithms/remove/moveable.cc: Same. * testsuite/25_algorithms/reverse/moveable.cc: Same. * testsuite/25_algorithms/rotate/moveable.cc: Same. * testsuite/25_algorithms/sort/moveable.cc: Same. * testsuite/25_algorithms/swap_ranges/moveable.cc: Same. * testsuite/25_algorithms/unique/moveable.cc: Same. * testsuite/util/testsuite_rvalref.h: New. * testsuite/25_algorithms/equal/equal.cc: Move to... * testsuite/25_algorithms/equal/no_operator_ne.cc: ...this. * testsuite/25_algorithms/heap/heap.cc: Move to... * testsuite/25_algorithms/heap/1.cc: ...this. * testsuite/25_algorithms/lower_bound/lower_bound.cc: Move to... * testsuite/25_algorithms/lower_bound/no_operator_ne.cc: ...this. * testsuite/25_algorithms/partition/partition.cc: Move to... * testsuite/25_algorithms/partition/1.cc: ...this. * testsuite/25_algorithms/stable_partition/1.cc: ... and this. * testsuite/25_algorithms/search/1.cc: Update from merge. * testsuite/25_algorithms/search/check_type.cc: Same. * testsuite/lib/dg-options.exp (dg-require-rvalref): New. * testsuite/lib/libstdc++.exp (check_v3_target_rvalref): New. Co-Authored-By: Benjamin Kosnik <bkoz@redhat.com> From-SVN: r128990 |
||
Paolo Carlini
|
fd735b6a2e |
type_traitsfwd.h (aligned_storage): Remove declaration.
2007-09-17 Paolo Carlini <pcarlini@suse.de> * include/tr1_impl/type_traitsfwd.h (aligned_storage): Remove declaration. * include/tr1_impl/type_traits (aligned_storage): Remove. * include/std/type_traits (aligned_storage, __aligned_storage_msa): Add. * include/tr1/type_traits (aligned_storage): Add. * testsuite/20_util/aligned_storage/value.cc: New. * testsuite/20_util/aligned_storage/requirements/ explicit_instantiation.cc: Likewise. * testsuite/20_util/make_signed/requirements/typedefs_neg.cc: Adjust dg-error lines. * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc: Likewise. From-SVN: r128542 |
||
Benjamin Kosnik
|
0646d8a378 |
system_error: New file.
2007-08-23 Benjamin Kosnik <bkoz@redhat.com> * include/std/system_error: New file. * src/system_error.cc: New file. * src/Makefile.am (sources): Add. * src/Makefile.in: Regenerate. * include/Makefile.am (std_headers): Add system_error. * include/Makefile.in: Regenerate. * acinclude.m4 (GLIBCXX_CHECK_SYSTEM_ERROR): New. * configure.ac: Call it. * config.h.in: Regenerate. * include/bits/functional_hash.h: Add hash<error_code>. * include/std/ostream: Add inserters for error_code. * docs/doxygen/user.cfg.in: Add system_error. * config/abi/pre/gnu.ver(GLIBCXX_3.4.10): Add new symbols. * testsuite/19_diagnostics/error_code: New. * testsuite/19_diagnostics/error_code/cons: Same. * testsuite/19_diagnostics/error_code/cons/1.cc: Same. * testsuite/19_diagnostics/error_code/operators: Same. * testsuite/19_diagnostics/error_code/operators/bool.cc: Same. * testsuite/19_diagnostics/error_code/operators/bool_neg.cc: Same. * testsuite/19_diagnostics/error_code/operators/equal.cc: Same. * testsuite/19_diagnostics/error_code/operators/not_equal.cc: Same. * testsuite/19_diagnostics/error_category: Same. * testsuite/19_diagnostics/error_category/cons: Same. * testsuite/19_diagnostics/error_category/cons/copy_neg.cc: Same. * testsuite/19_diagnostics/error_category/cons/default.cc: Same. * testsuite/19_diagnostics/error_category/operators: Same. * testsuite/19_diagnostics/error_category/operators/equal.cc: Same. * testsuite/19_diagnostics/error_category/operators/not_equal.cc: Same. * testsuite/19_diagnostics/headers/system_error: Same. * testsuite/19_diagnostics/headers/system_error/ types_std_c++0x.cc: Same. * testsuite/19_diagnostics/headers/system_error/std_c++0x_neg.cc: Same. * testsuite/19_diagnostics/system_error: Same. * testsuite/19_diagnostics/system_error/ cons_virtual_derivation.cc: Same. * testsuite/19_diagnostics/system_error/cons-1.cc: Same. * testsuite/19_diagnostics/system_error/what-1.cc: Same. * testsuite/19_diagnostics/system_error/what-2.cc: Same. * testsuite/19_diagnostics/system_error/what-big.cc: Same. * testsuite/19_diagnostics/system_error/what-3.cc: Same. * testsuite/19_diagnostics/system_error/what-4.cc: Same. * testsuite/27_io/basic_ostream/inserters_other/wchar_t/ error_code.cc: Same. * testsuite/27_io/basic_ostream/inserters_other/char/ error_code.cc: Same. * testsuite/tr1/6_containers/hash/operators: New. * testsuite/tr1/6_containers/hash/operators/size_t.cc: Same. * testsuite/23_containers/hash: Move... * testsuite/20_util/hash: ... here. * testsuite/20_util/hash/operators: New. * testsuite/20_util/hash/operators/size_t.cc: New. * testsuite/20_util/function_objects/bad_function_call: Move... * testsuite/20_util/bad_function_call: ...here. From-SVN: r127744 |
||
Paolo Carlini
|
4b36461502 |
typedefs_neg.cc: Adjust dg-error lines.
2007-08-17 Paolo Carlini <pcarlini@suse.de> * testsuite/20_util/make_signed/requirements/typedefs_neg.cc: Adjust dg-error lines. * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc: Ditto. From-SVN: r127589 |
||
Paolo Carlini
|
2ee0c1fb57 |
DR 660, [Ready] in Toronto.
2007-08-02 Paolo Carlini <pcarlini@suse.de> DR 660, [Ready] in Toronto. * include/bits/stl_function.h (bit_and, bit_or, bit_xor): Add. * testsuite/20_util/function_objects/dr660.cc: New. * docs/html/ext/howto.html: Add an entry for DR 660, update. * docs/html/ext/lwg-closed.html, docs/html/ext/lwg-active.html, docs/html/ext/lwg-defects.html: Import Revision 49. From-SVN: r127166 |
||
Paolo Carlini
|
1ef8ecdd2e |
utility (identity, [...]): Add.
2007-07-10 Paolo Carlini <pcarlini@suse.de> * include/std/utility (identity, move, forward): Add. * testsuite/20_util/move/requirements/explicit_instantiation.cc: New. * testsuite/20_util/move/1.cc: New. * testsuite/20_util/identity/value.cc: New. * testsuite/20_util/identity/requirements/typedefs.cc: New. * testsuite/20_util/identity/requirements/explicit_instantiation.cc: New. * testsuite/20_util/forward/requirements/explicit_instantiation.cc: New. * testsuite/20_util/forward/1.cc: New. * testsuite/20_util/forward/1_neg.cc: New. From-SVN: r126522 |
||
Douglas Gregor
|
269ef14dfd |
typedefs_neg.cc: Tweak line numbers.
2007-07-02 Douglas Gregor <doug.gregor@gmail.com> * testsuite/20_util/make_signed/requirements/typedefs_neg.cc: Tweak line numbers. * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc: Ditto. * testsuite/20_util/make_unsigned/requirements/typedefs-1.cc: Don't try to create an unsigned wchar_t. * testsuite/20_util/make_unsigned/requirements/typedefs-2.cc: Don't try to create an unsigned wchar_t. * testsuite/util/testsuite_hooks.h: Remove a stray semicolon. From-SVN: r126203 |
||
Doug Gregor
|
f535826b35 |
std_c++0x_neg.cc: Force C++98 mode.
2007-06-29 Douglas Gregor <doug.gregor@gmail.com> * testsuite/18_support/headers/cstdbool/std_c++0x_neg.cc: Force C++98 mode. * testsuite/18_support/headers/cstdint/std_c++0x_neg.cc: Ditto. * testsuite/20_util/headers/type_traits/std_c++0x_neg.cc: Ditto. * testsuite/23_containers/headers/array/std_c++0x_neg.cc: Ditto. * testsuite/23_containers/headers/tuple/std_c++0x_neg.cc: Ditto. * testsuite/23_containers/headers/unordered_map/std_c++0x_neg.cc: Ditto. * testsuite/23_containers/headers/unordered_set/std_c++0x_neg.cc: Ditto. * testsuite/26_numerics/headers/ccomplex/std_c++0x_neg.cc: Ditto. * testsuite/26_numerics/headers/cfenv/std_c++0x_neg.cc: Ditto. * testsuite/26_numerics/headers/ctgmath/std_c++0x_neg.cc: Ditto. * testsuite/26_numerics/headers/random/std_c++0x_neg.cc: Ditto. * testsuite/27_io/headers/cinttypes/std_c++0x_neg.cc: Ditto. * testsuite/28_regex/headers/regex/std_c++0x_neg.cc: Ditto. From-SVN: r126120 |
||
Benjamin Kosnik
|
0bb81a93ac |
testsuite_api.h: New.
2007-06-26 Benjamin Kosnik <bkoz@redhat.com> * testsuite/util/testsuite_api.h: New. * testsuite/27_io/ios_base/failure: Add. * testsuite/27_io/ios_base/failure/cons_virtual_derivation.cc: New. * testsuite/27_io/ios_base/failure/what-1.cc: Same. * testsuite/27_io/ios_base/failure/what-2.cc: Same. * testsuite/27_io/ios_base/failure/what-big.cc: Same. * testsuite/27_io/ios_base/failure/what-3.cc: Same. * testsuite/19_diagnostics/logic_error/ cons_virtual_derivation.cc: Same. * testsuite/19_diagnostics/runtime_error/ cons_virtual_derivation.cc: Same. * testsuite/18_support/bad_alloc/cons_virtual_derivation.cc: Same. * testsuite/18_support/bad_cast/cons_virtual_derivation.cc: Same. * testsuite/18_support/bad_exception/cons_virtual_derivation.cc: Same. * testsuite/18_support/bad_typeid/cons_virtual_derivation.cc: Same. * testsuite/ext/concurrence_lock_error: New. * testsuite/ext/concurrence_lock_error/ cons_virtual_derivation.cc: Same. * testsuite/ext/forced_exception_error: New. * testsuite/ext/forced_exception_error/ cons_virtual_derivation.cc: Same. * testsuite/ext/concurrence_unlock_error: New. * testsuite/ext/concurrence_unlock_error/ cons_virtual_derivation.cc: Same. * testsuite/20_util/function_objects/bad_function_call: New. * testsuite/20_util/function_objects/bad_function_call/ cons_virtual_derivation.cc: Same. From-SVN: r126032 |
||
Paolo Carlini
|
4a27a739a2 |
type_traits (is_reference, [...]): Remove.
2007-06-02 Paolo Carlini <pcarlini@suse.de> * include/tr1_impl/type_traits (is_reference, add_reference, remove_reference): Remove. * include/tr1/type_traits (is_reference, add_reference, remove_reference): Add. * include/std/type_traits (is_lvalue_reference, is_rvalue_reference, is_reference, remove_reference, add_lvalue_reference, add_rvalue_reference): Add. * include/tr1_impl/boost_shared_ptr.h (operator*): Adjust. * testsuite/20_util/add_lvalue_reference/requirements/ explicit_instantiation.cc: New. * testsuite/20_util/add_lvalue_reference/value.cc: Likewise. * testsuite/20_util/add_rvalue_reference/requirements/ explicit_instantiation.cc: Likewise. * testsuite/20_util/add_rvalue_reference/value.cc: Likewise. * testsuite/20_util/is_lvalue_reference/requirements/ explicit_instantiation.cc: Likewise. * testsuite/20_util/is_lvalue_reference/requirements/ typedefs.cc: Likewise. * testsuite/20_util/is_lvalue_reference/value.cc: Likewise. * testsuite/20_util/is_rvalue_reference/requirements/ explicit_instantiation.cc: Likewise. * testsuite/20_util/is_rvalue_reference/requirements/ typedefs.cc: Likewise. * testsuite/20_util/is_rvalue_reference/value.cc: Likewise. * testsuite/20_util/is_reference/requirements/ explicit_instantiation.cc: Likewise. * testsuite/20_util/is_reference/requirements/typedefs.cc: Likewise. * testsuite/20_util/is_reference/value.cc: Likewise. * testsuite/20_util/remove_reference/requirements/ explicit_instantiation.cc: New. * testsuite/20_util/remove_reference/value.cc: Likewise. * testsuite/tr1/4_metaprogramming/add_const/requirements/ typedefs.cc: Move... * testsuite/tr1/4_metaprogramming/add_const/value.cc: ... here. * testsuite/tr1/4_metaprogramming/add_cv/requirements/ typedefs.cc: Move... * testsuite/tr1/4_metaprogramming/add_cv/value.cc: ... here. * testsuite/tr1/4_metaprogramming/add_pointer/requirements/ typedefs.cc: Move... * testsuite/tr1/4_metaprogramming/add_pointer/value.cc: ... here. * testsuite/tr1/4_metaprogramming/add_reference/requirements/ typedefs.cc: Move... * testsuite/tr1/4_metaprogramming/add_reference/value.cc: ... here. * testsuite/tr1/4_metaprogramming/add_volatile/requirements/ typedefs.cc: Move... * testsuite/tr1/4_metaprogramming/add_volatile/value.cc: ... here. * testsuite/tr1/4_metaprogramming/aligned_storage/requirements/ typedefs.cc: Move... * testsuite/tr1/4_metaprogramming/aligned_storage/value.cc: ... here. From-SVN: r125283 |
||
Paolo Carlini
|
e133ace8d9 |
re PR libstdc++/31426 (TR1 includes do not work with -std=c++0x)
2007-05-31 Paolo Carlini <pcarlini@suse.de> PR libstdc++/31426 * include/bits/c++config: Remove namespace association bits from tr1 to std. * include/ext/type_traits.h (__promote, __promote2, __promote3, __promote4): Add. * include/bits/hashtable.h: New. * include/bits/functional_hash.h: Likewise. * include/tr1/hashtable.h: Likewise. * include/tr1_impl/random: New. * include/tr1_impl/cinttypes: Likewise. * include/tr1_impl/cstdlib: Likewise. * include/tr1_impl/unordered_map: Likewise. * include/tr1_impl/cstdio: Likewise. * include/tr1_impl/boost_shared_ptr.h: Likewise. * include/tr1_impl/cctype: Likewise. * include/tr1_impl/random.tcc: Likewise. * include/tr1_impl/tuple: Likewise. * include/tr1_impl/functional_hash.h: Likewise. * include/tr1_impl/hashtable: Likewise. * include/tr1_impl/cmath: Likewise. * include/tr1_impl/type_traitsfwd.h: Likewise. * include/tr1_impl/hashtable_policy.h: Likewise. * include/tr1_impl/cfenv: Likewise. * include/tr1_impl/unordered_set: Likewise. * include/tr1_impl/functional: Likewise. * include/tr1_impl/utility: Likewise. * include/tr1_impl/complex: Likewise. * include/tr1_impl/type_traits: Likewise. * include/tr1_impl/cwchar: Likewise. * include/tr1_impl/cstdint: Likewise. * include/tr1_impl/regex: Likewise. * include/tr1_impl/array: Likewise. * include/tr1_impl/cwctype: Likewise. * include/tr1/type_traitsfwd.h: Remove. * include/tr1/boost_shared_ptr.h: Likewise. * include/tr1/common.h: Likewise. * include/tr1/hashtable: Likewise. * include/tr1/hashtable_policy.h: Likewise. * include/tr1/random.tcc: Likewise. * include/c_global/cinttypes: Include tr1_impl/cinttypes. * include/c_global/cstdlib: Likewise for cstdlib. * include/c_global/cstdio: Likewise for cstdio. * include/c_global/cctype: Likewise for cctype. * include/c_global/cmath: Likewise for cmath. * include/c_global/cfenv: Likewise for cfenv. * include/c_global/cwchar: Likewise for cwchar. * include/c_global/cstdint: Likewise for cstdint. * include/c_global/cwctype: Likewise for cwctype. * include/tr1/cinttypes: Likewise for cinttypes. * include/tr1/cstdlib: Likewise for cstdlib. * include/tr1/cstdio: Likewise for cstdio. * include/tr1/cctype: Likewise for cctype. * include/tr1/cmath: Likewise for cmath. * include/tr1/cfenv: Likewise for cfenv. * include/tr1/cwchar: Likewise for cwchar. * include/tr1/cstdint: Likewise for cstdint. * include/tr1/cwctype: Likewise for cwctype. * include/tr1/functional_hash.h: Likewise for functional_hash. * include/std/tuple: Include tr1_impl/tuple. * include/std/utility: Likewise for utility. * include/std/type_traits: Likewise for type_traits. (is_pod): Just forward to __is_pod. (has_trivial_default_constructor): Just forward to __has_trivial_constructor. (has_trivial_copy_constructor): Just forward to __has_trivial_copy. (has_trivial_assign): Just forward to __has_trivial_assign. (has_trivial_destructor): Just forward to __has_trivial_destructor. (has_nothrow_default_constructor): Just forward to __has_nothrow_constructor. (has_nothrow_copy_constructor): Just forward to __has_nothrow_copy. (has_nothrow_assign): Just forward to __has_nothrow_assign. (is_base_of): Just forward to __is_base_of. (is_signed, is_unsigned): Implement according to the C++0x specifications. * include/std/memory: Likewise for memory. * include/std/regex: Likewise for regex. * include/std/random: Likewise for random. * include/std/unordered_map: Likewise for unordered_map. * include/std/unordered_set: Likewise for unordered_set. * include/std/functional: Likewise for functional. * include/std/complex: Likewise for complex. * include/std/array: Likewise for array. * include/tr1/tuple: Likewise for tuple. * include/tr1/utility: Likewise for utility. * include/tr1/type_traits: Likewise for type_traits * include/tr1/memory: Likewise for memory. * include/tr1/regex: Likewise for regex. * include/tr1/random: Likewise for random. * include/tr1/unordered_map: Likewise for unordered_map. * include/tr1/unordered_set: Likewise for unordered_set. * include/tr1/functional: Likewise for functional. * include/tr1/complex: Likewise for complex. * include/tr1/array: Likewise for array. * include/c_global/ctgmath: Tweak. * include/c_global/cstdarg: Likewise. * include/c_global/ctime: Likewise. * include/c_global/climits: Likewise. * include/c_global/cfloat: Likewise. * include/c_global/ccomplex: Likewise. * include/c_global/cstdbool: Likewise. * include/tr1/poly_laguerre.tcc: Tweak, don't use _GLIBCXX_TR1. * include/tr1/riemann_zeta.tcc: Likewise. * include/tr1/beta_function.tcc: Likewise. * include/tr1/exp_integral.tcc: Likewise. * include/tr1/hypergeometric.tcc: Likewise. * include/tr1/modified_bessel_func.tcc: Likewise. * include/tr1/legendre_function.tcc: Likewise. * include/tr1/special_function_util.h: Likewise. * include/tr1/bessel_function.tcc: Likewise. * include/tr1/poly_hermite.tcc: Likewise. * include/tr1/ell_integral.tcc: Likewise. * include/tr1/gamma.tcc: Likewise. * include/tr1/stdlib.h: Likewise. * include/tr1/math.h: Likewise. * include/tr1/complex.h: Minor tweaks. * include/tr1/wctype.h: Likewise. * include/tr1/wchar.h: Likewise. * include/tr1/inttypes.h: Likewise. * include/tr1/tgmath.h: Likewise. * include/tr1/cstdbool: Likewise. * include/tr1/cfloat: Likewise. * include/tr1/ccomplex: Likewise. * include/tr1/ctime: Likewise. * include/tr1/climits: Likewise. * include/tr1/ctgmath: Likewise. * include/tr1/cstdarg: Likewise. * testsuite/tr1/headers.cc: Move... * testsuite/tr1/headers/all.cc: ... here. * testsuite/tr1/using_namespace_std_tr1.cc: Move... * testsuite/tr1/headers/c++200x/using_namespace_std_tr1.cc: ... here. * testsuite/tr1/headers/using_namespace_std_tr1.cc ... here. * testsuite/tr1/headers/c++200x/using_namespace_std_tr1.cc: New. * testsuite/20_util/tuple/requirements/explicit_instantiation.cc: Adjust namespace. * testsuite/20_util/has_nothrow_copy_constructor/value.cc: Adjust to the C++0x requirements. * testsuite/20_util/has_nothrow_default_constructor/value.cc: Likewise. * testsuite/20_util/has_trivial_copy_constructor/value.cc: Likewise. * testsuite/20_util/has_trivial_default_constructor/value.cc: Likewise. * testsuite/20_util/make_signed/requirements/typedefs_neg.cc: Adjust dg-error lines. * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc: Likewise. * testsuite/20_util/headers/type_traits/types_std_c++0x_neg.cc: Un-xfail. * testsuite/20_util/is_signed/value.cc: New. * testsuite/20_util/is_signed/requirements/typedefs.cc: Likewise. * testsuite/20_util/is_signed/requirements/explicit_instantiation.cc: Likewise. * testsuite/20_util/is_unsigned/value.cc: Likewise.. * testsuite/20_util/is_unsigned/requirements/typedefs.cc: Likewise. * testsuite/20_util/is_unsigned/requirements/explicit_instantiation.cc: Likewise. * include/Makefile.am: Adjust. * include/Makefile.in: Regenerate. From-SVN: r125244 |
||
Paolo Carlini
|
f4c5578ffb |
PR c++/32158 (libstdc++ bits)
2007-05-31 Paolo Carlini <pcarlini@suse.de> PR c++/32158 (libstdc++ bits) * include/bits/stl_uninitialized.h (__uninitialized_copy_aux, __uninitialized_fill_aux, __uninitialized_fill_n_aux): Remove. (struct __uninitialized_copy, struct __uninitialized_fill, struct __uninitialized_fill_n): Add. (uninitialized_copy, uninitialized_fill, uninitialized_fill_n): Adjust. * testsuite/20_util/specialized_algorithms/32158.cc: New. * include/bits/stl_uninitialized.h (uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator)): Robustify vs non-POD input. * include/bits/stl_vector.h (_M_fill_initialize): New. (vector(size_type, const value_type&, const allocator_type&), _M_initialize_dispatch(_Integer, _Integer, __true_type)): Use it. * testsuite/23_containers/vector/requirements/dr438/assign_neg.cc: Adjust dg-error line. * testsuite/23_containers/vector/requirements/dr438/insert_neg.cc: Likewise. * testsuite/23_containers/vector/requirements/dr438/ constructor_1_neg.cc: Likewise. * testsuite/23_containers/vector/requirements/dr438/ constructor_2_neg.cc: Likewise. From-SVN: r125223 |
||
Benjamin Kosnik
|
2c4b148c84 |
acinclude.m4 (GLIBCXX_CHECK_COMPILER_FEATURES): Add a function to the test code compiled with -ffunction-sections -fdata-sections.
2007-05-11 Benjamin Kosnik <bkoz@redhat.com> * acinclude.m4 (GLIBCXX_CHECK_COMPILER_FEATURES): Add a function to the test code compiled with -ffunction-sections -fdata-sections. * configure: Regenerate. * testsuite/22_locale/ctype/scan/wchar_t/1.cc: Remove _GLIBCXX_USE_WCHAR_T guards as surpufulous. * testsuite/20_util/make_signed/requirements/typedefs-1.cc: Add _GLIBCXX_USE_WCHAR_T guards. * testsuite/20_util/make_signed/requirements/typedefs-2.cc: Same. * testsuite/20_util/make_unsigned/requirements/typedefs-1.cc: Same. * testsuite/20_util/make_unsigned/requirements/typedefs-2.cc: Same. * testsuite/21_strings/char_traits/requirements/wchar_t/typedefs.cc: Add. * testsuite/21_strings/char_traits/typedefs/char/1.cc: Move... * testsuite/21_strings/char_traits/requirements/char/typedefs.cc: ...here. * testsuite/21_strings/char_traits/typedefs: Remove. * testsuite/21_strings/char_traits/typedefs/char: Remove. From-SVN: r124772 |
||
Benjamin Kosnik
|
fb8ffd109a |
type_traits (make_signed): Remove specializations for floating point types.
2007-05-08 Benjamin Kosnik <bkoz@redhat.com> * include/std/type_traits (make_signed): Remove specializations for floating point types. (make_unsigned): Same. * testsuite/20_util/make_signed/requirements/typedefs_neg.cc: Fix. * testsuite/20_util/make_signed/requirements/typedefs-1.cc: Same. * testsuite/20_util/make_signed/requirements/typedefs-2.cc: Same. * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc: Same. * testsuite/20_util/make_unsigned/requirements/typedefs-1.cc: Same. * testsuite/20_util/make_unsigned/requirements/typedefs-2.cc: Same. From-SVN: r124543 |
||
Benjamin Kosnik
|
ce2e63495d |
type_traits: (make_signed, make_unsigned): Adjust for enum sizes.
2007-05-07 Benjamin Kosnik <bkoz@redhat.com> Howard Hinnant <hhinnant@apple.com> * include/std/type_traits: (make_signed, make_unsigned): Adjust for enum sizes. * testsuite/20_util/make_unsigned/requirements/typedefs.cc: Move to... * testsuite/20_util/make_unsigned/requirements/typedefs-1.cc: ...here. * testsuite/20_util/make_unsigned/requirements/typedefs-2.cc: Add, compile with -funsigned-char -fshort-enums. * testsuite/20_util/make_signed/requirements/typedefs.cc: Move to... * testsuite/20_util/make_signed/requirements/typedefs-1.cc: ...here. * testsuite/20_util/make_signed/requirements/typedefs-2.cc: Add, compile with -funsigned-char -fshort-enums. * testsuite/20_util/headers/type_traits/types_std_c++0x_neg.cc: Add a temporary xfail to this test for all platforms. Co-Authored-By: Howard Hinnant <hhinnant@apple.com> From-SVN: r124500 |
||
Paolo Carlini
|
acb8a4ef2d |
stl_memory.h: Rename to stl_auto_ptr.h.
2007-05-04 Paolo Carlini <pcarlini@suse.de> * include/bits/stl_memory.h: Rename to stl_auto_ptr.h. (__get_temporary_buffer, get_temporary_buffer, return_temporary_buffer): Move... * include/bits/stl_tempbuf.h: ... here. * include/std/memory: Adjust includes. * testsuite/20_util/auto_ptr/assign_neg.cc: Adjust dg-error line numbers. * include/Makefile.am: Adjust. * include/Makefile.in: Regenerate. * testsuite/util/testsuite_iterators.h: Do not include the entire <iterator>. * include/bits/stl_iterator_base_types.h: Adjust includes. * testsuite/25_algorithms/unique_copy/2.cc: Include <functional>. From-SVN: r124438 |
||
Benjamin Kosnik
|
7b50cdeffb |
type_traits (enable_if): New.
2007-05-03 Benjamin Kosnik <bkoz@redhat.com> * include/std/type_traits (enable_if): New. (conditional): New. (__decay_selector, decay): New. (__cv_selector, __match_cv_qualifiers): New. (__make_unsigned, __make_unsigned_selector, make_unsigned): New. (__make_signed, __make_signed_selector, make_signed): New. (has_trivial_constructor): ... to has_trivial_default_constructor. (has_nothrow_constructor): ... to has_nothrow_default_constructor. (has_trivial_copy): ... to has_trivial_copy_constructor. (has_nothrow_copy): ... to has_nothrow_copy_constructor. * include/tr1/type_traits_fwd: Move to... * include/tr1/type_traitsfwd: ... this, consistency with ios/string/locale forward headers. * include/tr1/type_traits: Adjust include. * include/Makefile.am (tr1_headers): Change type_traits_fwd.h to type_traitsfwd.h. * include/Makefile.in: Regenerate. * testsuite/23_containers/tuple: Move... * testsuite/20_util/tuple:... here. * testsuite/20_util/conditional: New. * testsuite/20_util/conditional/requirements: Same. * testsuite/20_util/conditional/requirements/ explicit_instantiation.cc: Same. * testsuite/20_util/conditional/requirements/typedefs.cc: Same. * testsuite/20_util/decay: Same. * testsuite/20_util/decay/requirements: Same. * testsuite/20_util/decay/requirements/explicit_instantiation.cc: Same. * testsuite/20_util/decay/requirements/typedefs.cc: Same. * testsuite/20_util/enable_if: Same. * testsuite/20_util/enable_if/requirements: Same. * testsuite/20_util/enable_if/requirements/ explicit_instantiation.cc: Same. * testsuite/20_util/enable_if/requirements/typedefs.cc: Same. * testsuite/20_util/enable_if/requirements/typedefs_neg.cc: Same. * testsuite/20_util/has_nothrow_copy_constructor: Same. * testsuite/20_util/has_nothrow_copy_constructor/requirements: Same. * testsuite/20_util/has_nothrow_copy_constructor/requirements/ explicit_instantiation.cc: Same. * testsuite/20_util/has_nothrow_copy_constructor/requirements/ typedefs.cc: Same. * testsuite/20_util/has_nothrow_copy_constructor/value.cc: Same. * testsuite/20_util/has_nothrow_default_constructor: Same. * testsuite/20_util/has_nothrow_default_constructor/requirements: Same. * testsuite/20_util/has_nothrow_default_constructor/requirements/ explicit_instantiation.cc: Same. * testsuite/20_util/has_nothrow_default_constructor/requirements/ typedefs.cc: Same. * testsuite/20_util/has_nothrow_default_constructor/value.cc: Same. * testsuite/20_util/has_trivial_copy_constructor: Same. * testsuite/20_util/has_trivial_copy_constructor/requirements: Same. * testsuite/20_util/has_trivial_copy_constructor/requirements/ explicit_instantiation.cc: Same. * testsuite/20_util/has_trivial_copy_constructor/requirements/ typedefs.cc: Same. * testsuite/20_util/has_trivial_copy_constructor/value.cc: Same. * testsuite/20_util/has_trivial_default_constructor: Same. * testsuite/20_util/has_trivial_default_constructor/requirements: Same. * testsuite/20_util/has_trivial_default_constructor/requirements/ explicit_instantiation.cc: Same. * testsuite/20_util/has_trivial_default_constructor/requirements/ typedefs.cc: Same. * testsuite/20_util/has_trivial_default_constructor/value.cc: Same. * testsuite/20_util/headers/type_traits/types_std_c++0x_neg.cc: Same. * testsuite/20_util/make_signed: Same. * testsuite/20_util/make_signed/requirements: Same. * testsuite/20_util/make_signed/requirements/ explicit_instantiation.cc: Same. * testsuite/20_util/make_signed/requirements/typedefs.cc: Same. * testsuite/20_util/make_signed/requirements/typedefs_neg.cc: Same. * testsuite/20_util/make_unsigned: Same. * testsuite/20_util/make_unsigned/requirements: Same. * testsuite/20_util/make_unsigned/requirements/ explicit_instantiation.cc: Same. * testsuite/20_util/make_unsigned/requirements/typedefs.cc: Same. * testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc: Same. From-SVN: r124374 |
||
Benjamin Kosnik
|
3422222a02 |
types_std_c++0x.cc: Use -std=gnu++0x instead of -std=c++0x for testing.
2007-03-16 Benjamin Kosnik <bkoz@redhat.com> * testsuite/27_io/headers/cinttypes/types_std_c++0x.cc: Use -std=gnu++0x instead of -std=c++0x for testing. * testsuite/18_support/headers/cstdint/types_std_c++0x.cc: Same. * testsuite/26_numerics/headers/random/types_std_c++0x.cc: Same. * testsuite/26_numerics/headers/cfenv/types_std_c++0x.cc: Same. * testsuite/26_numerics/headers/cstdlib/types_std_c++0x.cc: Same. * testsuite/26_numerics/headers/cmath/types_std_c++0x.cc: Same. * testsuite/17_intro/headers/c++200x/all_multiple_inclusion.cc: Same. * testsuite/17_intro/headers/c++200x/all.cc: Same. * testsuite/17_intro/using_namespace_std_tr1_neg.cc: Same. * testsuite/23_containers/hash/requirements/ explicit_instantiation.cc: Same. * testsuite/23_containers/unordered_map/requirements/ explicit_instantiation.cc: Same. * testsuite/23_containers/tuple/requirements/ explicit_instantiation.cc: Same. * testsuite/23_containers/unordered_multimap/requirements/ explicit_instantiation.cc: Same. * testsuite/23_containers/unordered_set/requirements/ explicit_instantiation.cc: Same. * testsuite/23_containers/headers/tuple/types_std_c++0x.cc: Same. * testsuite/23_containers/unordered_multiset/requirements/ explicit_instantiation.cc: Same. * testsuite/23_containers/array/requirements/ explicit_instantiation.cc: Same. * testsuite/20_util/enable_shared_from_this/requirements/ explicit_instantiation.cc: Same. * testsuite/20_util/headers/functional/types_std_c++0x.cc: Same. * testsuite/20_util/headers/functional/ using_namespace_std_placeholders.cc: Same. * testsuite/20_util/headers/type_traits/types_std_c++0x.cc: Same. * testsuite/20_util/headers/memory/types_std_c++0x.cc: Same. * testsuite/20_util/shared_ptr/requirements/ explicit_instantiation.cc: Same. * testsuite/20_util/weak_ptr/requirements/ explicit_instantiation.cc: Same. From-SVN: r122996 |
||
Paolo Carlini
|
b2c50382fb |
PR libstdc++/28080 (partial)
2007-03-10 Paolo Carlini <pcarlini@suse.de> PR libstdc++/28080 (partial) * include/std/memory: Move C++03 implementation... * include/bits/stl_memory.h: ... here, new. * include/Makefile.am: Add. * include/bits/stl_tempbuf.h: Include the latter instead. * include/tr1/hashtable: Include allocator.h instead of the whole <memory>. * include/tr1/hashtable_policy.h: Include stl_function.h instead of <functional>. * include/Makefile.in: Regenerate. * testsuite/20_util/auto_ptr/assign_neg.cc: Adjust dg-error line numbers. From-SVN: r122805 |
||
Benjamin Kosnik
|
af13a7a6ec |
acinclude.m4 (GLIBCXX_ENABLE_CHEADERS): Add c_global.
2007-03-04 Benjamin Kosnik <bkoz@redhat.com> * acinclude.m4 (GLIBCXX_ENABLE_CHEADERS): Add c_global. * configure.host (c_model): Set default to c_global. * configure: Regenerate. * include/Makefile.am (c_compatibility_headers_extra): Make conditional on GLIBCXX_C_HEADERS_COMPATIBILITY. (c_base_headers_extra): Make conditional on GLIBCXX_C_HEADERS_EXTRA. (c_compatibility_headers): Make conditional on c/c_std/c_global. * include/Makefile.in: Regenerate. * docs/html/configopts.html: Add c_global information to --enable-cheaders. Eventually, "c_std" should mean "C" includes that are in namespace std, with optional C++ "C" compatibility includes to inject into global scope. And "c_global" should mean "C" includes that are in the global namespace, with C++ includes injecting into namespace std and no C++ "C" compatibility includes. 2007-03-04 Benjamin Kosnik <bkoz@redhat.com> * include/bits/c++config: Add _GLIBCXX_NAMEPACE_C. Add _GLIBCXX_NAMESPACE_ASSOCIATION_CXX200x. Add _GLIBCXX_TR1 as namespace macro. Add namespace associations for std::__cxx200x conditionally. * include/c_compatibility/assert.h: Correct doxygen markup, conditionalize the global injections on _GLIBCXX_NAMESPACE_C. * include/c_compatibility/ctype.h: Same. * include/c_compatibility/errno.h: Same. * include/c_compatibility/float.h: Same. * include/c_compatibility/iso646.h: Same. * include/c_compatibility/limits.h: Same. * include/c_compatibility/locale.h: Same. * include/c_compatibility/math.h: Same. * include/c_compatibility/setjmp.h: Same. * include/c_compatibility/signal.h: Same. * include/c_compatibility/stdarg.h: Same. * include/c_compatibility/stddef.h: Same. * include/c_compatibility/stdio.h: Same. * include/c_compatibility/stdlib.h: Same. * include/c_compatibility/string.h: Same. * include/c_compatibility/time.h: Same. * include/c_compatibility/wchar.h: Same. * include/c_compatibility/wctype.h: Same. * include/c_compatibility/complex.h: Add. * include/c_compatibility/fenv.h: Same. * include/c_compatibility/inttypes.h: Same. * include/c_compatibility/stdbool.h: Same. * include/c_compatibility/stdint.h: Same. * include/c_compatibility/tgmath.h: Same. * include/c_global/cassert: Add, use include_next, use C++0x features if -std=c++0x. * include/c_global/cctype: Same. * include/c_global/cerrno: Same. * include/c_global/cfloat: Same. * include/c_global/ciso646: Same. * include/c_global/climits: Same. * include/c_global/clocale: Same. * include/c_global/cmath: Same. * include/c_global/cmath.tcc: Same. * include/c_global/csetjmp: Same. * include/c_global/csignal: Same. * include/c_global/cstdarg: Same. * include/c_global/cstddef: Same. * include/c_global/cstdio: Same. * include/c_global/cstdlib: Same. * include/c_global/cstring: Same. * include/c_global/ctime: Same. * include/c_global/cwchar: Same. * include/c_global/cwctype: Same. * include/c_global/ccomplex: Add. * include/c_global/cfenv: Add. * include/c_global/cinttypes: Add. * include/c_global/cstdbool: Add. * include/c_global/cstdint: Add. * include/c_global/ctgmath: Add. * include/std/algorithm: Use C++0x features if -std=c++0x. * include/std/bitset: Same. * include/std/complex: Same. * include/std/deque: Same. * include/std/fstream: Same. * include/std/functional: Same. * include/std/iomanip: Same. * include/std/ios: Same. * include/std/iosfwd: Same. * include/std/iostream: Same. * include/std/istream: Same. * include/std/iterator: Same. * include/std/limits: Same. * include/std/list: Same. * include/std/locale: Same. * include/std/map: Same. * include/std/memory: Same. * include/std/numeric: Same. * include/std/ostream: Same. * include/std/queue: Same. * include/std/set: Same. * include/std/sstream: Same. * include/std/stack: Same. * include/std/stdexcept: Same. * include/std/streambuf: Same. * include/std/string: Same. * include/std/utility: Same. * include/std/valarray: Same. * include/std/vector: Same. * include/std/array: Add. * include/std/random: Add. * include/std/regex: Add. * include/std/tuple: Add. * include/std/type_traits: Add. * include/std/unordered_map: Add. * include/std/unordered_set: Add. * include/std/c++0x_warning.h: Add. * include/tr1/array: Switch namespaces based on _GLIBCXX_TR1. * include/tr1/boost_shared_ptr.h: Same. * include/tr1/cctype: Same. * include/tr1/cfenv: Same. * include/tr1/cinttypes: Same. * include/tr1/cmath: Same. * include/tr1/common.h: Same. * include/tr1/complex: Same. * include/tr1/cstdint: Same. * include/tr1/cstdio: Same. * include/tr1/cstdlib: Same. * include/tr1/cwchar: Same. * include/tr1/cwctype: Same. * include/tr1/functional: Same. * include/tr1/functional_hash.h: Same. * include/tr1/functional_iterate.h: Same. * include/tr1/hashtable: Same. * include/tr1/hashtable_policy.h: Same. * include/tr1/math.h: Same. * include/tr1/memory: Same. * include/tr1/random: Same. * include/tr1/random.tcc: Same. * include/tr1/ref_fwd.h: Same. * include/tr1/repeat.h: Same. * include/tr1/stdlib.h: Same. * include/tr1/tuple: Same. * include/tr1/tuple_iterate.h: Same. * include/tr1/type_traits: Same. * include/tr1/type_traits_fwd.h: Same. * include/tr1/unordered_map: Same. * include/tr1/unordered_set: Same. * include/tr1/utility: Same. * include/tr1/ccomplex: Add. * include/tr1/complex.h: Add. * include/tr1/regex: Add. * include/Makefile.am: Add C++0x headers, "C" compatibility headers. * include/Makefile.in: Regenerate. * testsuite/tr1/headers.cc: Add in regex/complex. * testsuite/17_intro/headers/c++200x/all.cc: New. * testsuite/17_intro/headers/c++200x/all_multiple_inclusion.cc: Same. * testsuite/17_intro/using_namespace_std_tr1_neg.cc: Same. * testsuite/18_support/headers/cstdbool/std_c++0x_neg.cc: Same. * testsuite/18_support/headers/cstdint/std_c++0x_neg.cc: Same. * testsuite/18_support/headers/cstdint/types_std_c++0x.cc: Same. * testsuite/20_util/enable_shared_from_this/requirements/ explicit_instantiation.cc: Same. * testsuite/20_util/headers/functional/types_std_c++0x.cc: Same. * testsuite/20_util/headers/functional/ using_namespace_std_placeholders.cc: Same. * testsuite/20_util/headers/memory/types_std_c++0x.cc: Same. * testsuite/20_util/headers/type_traits/std_c++0x_neg.cc: Same. * testsuite/20_util/headers/type_traits/types_std_c++0x.cc: Same. * testsuite/20_util/shared_ptr/requirements/ explicit_instantiation.cc: Same. * testsuite/20_util/weak_ptr/requirements/ explicit_instantiation.cc: Same. * testsuite/23_containers/array/requirements/ explicit_instantiation.cc: Same. * testsuite/23_containers/hash/requirements/ explicit_instantiation.cc: Same. * testsuite/23_containers/headers/array/std_c++0x_neg.cc: Same. * testsuite/23_containers/headers/tuple/std_c++0x_neg.cc: Same. * testsuite/23_containers/headers/tuple/types_std_c++0x.cc: Same. * testsuite/23_containers/headers/unordered_map/std_c++0x_neg.cc: Same. * testsuite/23_containers/headers/unordered_set/std_c++0x_neg.cc: Same. * testsuite/23_containers/tuple/requirements/ explicit_instantiation.cc: Same. * testsuite/23_containers/unordered_map/requirements/ explicit_instantiation.cc: Same. * testsuite/23_containers/unordered_multimap/requirements/ explicit_instantiation.cc: Same. * testsuite/23_containers/unordered_multiset/requirements/ explicit_instantiation.cc: Same. * testsuite/23_containers/unordered_set/requirements/ explicit_instantiation.cc: Same. * testsuite/26_numerics/headers/ccomplex/std_c++0x_neg.cc: Same. * testsuite/26_numerics/headers/cfenv/std_c++0x_neg.cc: Same. * testsuite/26_numerics/headers/cfenv/types_std_c++0x.cc: Same. * testsuite/26_numerics/headers/cmath/types_std_c++0x.cc: Same. * testsuite/26_numerics/headers/cstdlib/types_std_c++0x.cc: Same. * testsuite/26_numerics/headers/ctgmath/std_c++0x_neg.cc: Same. * testsuite/26_numerics/headers/random/std_c++0x_neg.cc: Same. * testsuite/26_numerics/headers/random/types_std_c++0x.cc: Same. * testsuite/27_io/headers/cinttypes/std_c++0x_neg.cc: Same. * testsuite/27_io/headers/cinttypes/types_std_c++0x.cc: Same. * testsuite/28_regex/headers/regex/std_c++0x_neg.cc: Same. * testsuite/tr1/8_c_compatibility/cfenv/types.cc: Rename ... * testsuite/tr1/8_c_compatibility/cinttypes/types.cc: Same. * testsuite/tr1/8_c_compatibility/cmath/types.cc: Same. * testsuite/tr1/8_c_compatibility/cstdint/types.cc: Same. * testsuite/tr1/8_c_compatibility/cstdlib/types.cc: Same. * testsuite/tr1/8_c_compatibility/cfenv/types_std_tr1.cc: ...to this. * testsuite/tr1/8_c_compatibility/cinttypes/types_std_tr1.cc: Same. * testsuite/tr1/8_c_compatibility/cmath/types_std_tr1.cc: Same. * testsuite/tr1/8_c_compatibility/cstdint/types_std_tr1.cc: Same. * testsuite/tr1/8_c_compatibility/cstdlib/types_std_tr1.cc: Same. From-SVN: r122533 |
||
Paolo Carlini
|
39b8cd70c2 |
PR libstdc++/28080 (partial)
2007-03-03 Paolo Carlini <pcarlini@suse.de> PR libstdc++/28080 (partial) * include/bits/stl_algobase.h: Do not include <iosfwd>, <bits/functexcept.h> is enough; adjust __copy_aux declarations; remove declaration of copy overload for istreambuf_iterator / ostreambuf_iterator. * src/debug.cc: Include <cstdio>. * include/ext/rope: Include <iosfwd>. * include/bits/char_traits.h: Include <cstdio> and <cwchar>. * include/bits/stl_algo.h: Remove declaration of find overload for istreambuf_iterator. * include/std/queue: Clean up includes. * include/std/stack: Likewise. * include/std/memory: Likewise. * include/std/algorithm: Likewise. * include/std/vector: Likewise. * include/std/deque: Likewise. * include/std/list: Likewise. * include/bits/stl_tree.h: Likewise. * testsuite/ext/type_traits/remove_unsigned_integer_neg.cc: Adjust dg-error markers. * testsuite/ext/type_traits/add_unsigned_floating_neg.cc: Likewise. * testsuite/ext/type_traits/remove_unsigned_floating_neg.cc: Likewise. * testsuite/ext/type_traits/add_unsigned_integer_neg.cc: Likewise. * testsuite/23_containers/set/operators/1_neg.cc: Likewise. * testsuite/23_containers/map/operators/1_neg.cc: Likewise. * testsuite/20_util/auto_ptr/assign_neg.cc: Likewise. * include/ext/type_traits.h: Fix type of __max_digits10; clean up includes. * testsuite/util/testsuite_hooks.h: Do not include <cstddef>. * testsuite/util/testsuite_hooks.cc: Do it here. From-SVN: r122502 |
||
Benjamin Kosnik
|
f05e2819af |
Directory layout flattening.
2007-02-20 Benjamin Kosnik <bkoz@redhat.com> Directory layout flattening. Added in testsuite: * 20_util/allocator * 20_util/auto_ptr * 20_util/function_objects * 20_util/function_objects/binders * 20_util/function_objects/binders/1.cc * 20_util/function_objects/binders/3113.cc * 20_util/function_objects/comparisons.cc * 20_util/pair * 20_util/raw_storage_iterator * 20_util/rel_ops.cc * 20_util/specialized_algorithms * 20_util/specialized_algorithms/16505.cc * 20_util/temporary_buffer.cc * 26_numerics/numeric_arrays/slice_array * 26_numerics/numeric_arrays/slice_array/array_assignment.cc * 26_numerics/numeric_arrays/slice_array/requirements * 26_numerics/numeric_arrays/slice_array/requirements/ explicit_instantiation.cc * 26_numerics/numeric_arrays/slice_array/requirements/typedefs.cc * 26_numerics/numeric_arrays/valarray * 26_numerics/numeric_arrays/valarray/27867.cc * 26_numerics/numeric_arrays/valarray/28277.cc * 26_numerics/numeric_arrays/valarray/30416.cc * 26_numerics/numeric_arrays/valarray/algo.cc * 26_numerics/numeric_arrays/valarray/binary_closure.cc * 26_numerics/numeric_arrays/valarray/const_bracket.cc * 26_numerics/numeric_arrays/valarray/dr543.cc * 26_numerics/numeric_arrays/valarray/name_lookup.cc * 26_numerics/numeric_arrays/valarray/operators.cc * 26_numerics/numeric_arrays/valarray/requirements * 26_numerics/numeric_arrays/valarray/requirements/ explicit_instantiation.cc * 26_numerics/numeric_arrays/valarray/requirements/typedefs.cc * 26_numerics/numeric_arrays/valarray/subset_assignment.cc * tr1/2_general_utilities/enable_shared_from_this * tr1/2_general_utilities/shared_ptr * tr1/2_general_utilities/weak_ptr Deleted in testsuite: * 20_util/functional * 20_util/functional/binders * 20_util/functional/binders/1.cc * 20_util/functional/binders/3113.cc * 20_util/functional/comparisons.cc * 20_util/memory * 20_util/memory/16505.cc * 20_util/memory/allocator * 20_util/memory/allocator/10378.cc * 20_util/memory/allocator/14176.cc * 20_util/memory/allocator/1.cc * 20_util/memory/allocator/8230.cc * 20_util/memory/allocator/requirements * 20_util/memory/allocator/requirements/explicit_instantiation * 20_util/memory/allocator/requirements/explicit_instantiation/1.cc * 20_util/memory/auto_ptr * 20_util/memory/auto_ptr/1.cc * 20_util/memory/auto_ptr/2.cc * 20_util/memory/auto_ptr/3946.cc * 20_util/memory/auto_ptr/3.cc * 20_util/memory/auto_ptr/4.cc * 20_util/memory/auto_ptr/5.cc * 20_util/memory/auto_ptr/6.cc * 20_util/memory/auto_ptr/7.cc * 20_util/memory/auto_ptr/assign_neg.cc * 20_util/memory/auto_ptr/requirements * 20_util/memory/auto_ptr/requirements/explicit_instantiation * 20_util/memory/auto_ptr/requirements/explicit_instantiation/1.cc * 20_util/memory/raw_storage_iterator * 20_util/memory/raw_storage_iterator/requirements * 20_util/memory/raw_storage_iterator/requirements/base_classes.cc * 20_util/memory/raw_storage_iterator/requirements/ explicit_instantiation * 20_util/memory/raw_storage_iterator/requirements/ explicit_instantiation/1.cc * 20_util/memory/raw_storage_iterator/requirements/typedefs.cc * 20_util/memory/temporary_buffer.cc * 20_util/utility * 20_util/utility/pair * 20_util/utility/pair/1.cc * 20_util/utility/pair/2.cc * 20_util/utility/pair/3.cc * 20_util/utility/pair/4.cc * 20_util/utility/pair/requirements * 20_util/utility/pair/requirements/explicit_instantiation * 20_util/utility/pair/requirements/explicit_instantiation/1.cc * 20_util/utility/rel_ops.cc * 26_numerics/numeric_arrays/27867.cc * 26_numerics/numeric_arrays/28277.cc * 26_numerics/numeric_arrays/30416.cc * 26_numerics/numeric_arrays/binary_closure.cc * 26_numerics/numeric_arrays/dr543.cc * 26_numerics/numeric_arrays/slice_array_assignment.cc * 26_numerics/numeric_arrays/valarray.cc * 26_numerics/numeric_arrays/valarray_const_bracket.cc * 26_numerics/numeric_arrays/valarray_name_lookup.cc * 26_numerics/numeric_arrays/valarray_operators.cc * 26_numerics/numeric_arrays/valarray_subset_assignment.cc * tr1/2_general_utilities/memory * tr1/2_general_utilities/memory/enable_shared_from_this * tr1/2_general_utilities/memory/enable_shared_from_this/1.cc * tr1/2_general_utilities/memory/enable_shared_from_this/not_shared2.cc * tr1/2_general_utilities/memory/enable_shared_from_this/not_shared3.cc * tr1/2_general_utilities/memory/enable_shared_from_this/not_shared.cc * tr1/2_general_utilities/memory/enable_shared_from_this/requirements * tr1/2_general_utilities/memory/enable_shared_from_this/ requirements/explicit_instantiation * tr1/2_general_utilities/memory/enable_shared_from_this/ requirements/explicit_instantiation/1.cc * tr1/2_general_utilities/memory/enable_shared_from_this/shared.cc * tr1/2_general_utilities/memory/enable_shared_from_this/ still_shared.cc * tr1/2_general_utilities/memory/shared_ptr * tr1/2_general_utilities/memory/shared_ptr/assign * tr1/2_general_utilities/memory/shared_ptr/assign/assign.cc * tr1/2_general_utilities/memory/shared_ptr/assign/auto_ptr.cc * tr1/2_general_utilities/memory/shared_ptr/assign/auto_ptr_neg.cc * tr1/2_general_utilities/memory/shared_ptr/assign/ auto_ptr_rvalue_neg.cc * tr1/2_general_utilities/memory/shared_ptr/assign/dr541.cc * tr1/2_general_utilities/memory/shared_ptr/assign/shared_ptr.cc * tr1/2_general_utilities/memory/shared_ptr/assign/shared_ptr_neg.cc * tr1/2_general_utilities/memory/shared_ptr/casts * tr1/2_general_utilities/memory/shared_ptr/casts/1.cc * tr1/2_general_utilities/memory/shared_ptr/comparison * tr1/2_general_utilities/memory/shared_ptr/comparison/cmp.cc * tr1/2_general_utilities/memory/shared_ptr/cons * tr1/2_general_utilities/memory/shared_ptr/cons/auto_ptr.cc * tr1/2_general_utilities/memory/shared_ptr/cons/auto_ptr_neg.cc * tr1/2_general_utilities/memory/shared_ptr/cons/copy.cc * tr1/2_general_utilities/memory/shared_ptr/cons/default.cc * tr1/2_general_utilities/memory/shared_ptr/cons/pointer.cc * tr1/2_general_utilities/memory/shared_ptr/cons/weak_ptr.cc * tr1/2_general_utilities/memory/shared_ptr/cons/weak_ptr_expired.cc * tr1/2_general_utilities/memory/shared_ptr/dest * tr1/2_general_utilities/memory/shared_ptr/dest/dest.cc * tr1/2_general_utilities/memory/shared_ptr/misc * tr1/2_general_utilities/memory/shared_ptr/misc/24595.cc * tr1/2_general_utilities/memory/shared_ptr/misc/io.cc * tr1/2_general_utilities/memory/shared_ptr/misc/swap.cc * tr1/2_general_utilities/memory/shared_ptr/modifiers * tr1/2_general_utilities/memory/shared_ptr/modifiers/24805.cc * tr1/2_general_utilities/memory/shared_ptr/modifiers/reset.cc * tr1/2_general_utilities/memory/shared_ptr/modifiers/reset_neg.cc * tr1/2_general_utilities/memory/shared_ptr/modifiers/swap.cc * tr1/2_general_utilities/memory/shared_ptr/modifiers/swap_neg.cc * tr1/2_general_utilities/memory/shared_ptr/observers * tr1/2_general_utilities/memory/shared_ptr/observers/bool_conv.cc * tr1/2_general_utilities/memory/shared_ptr/observers/get.cc * tr1/2_general_utilities/memory/shared_ptr/observers/unique.cc * tr1/2_general_utilities/memory/shared_ptr/observers/use_count.cc * tr1/2_general_utilities/memory/shared_ptr/requirements * tr1/2_general_utilities/memory/shared_ptr/requirements/ explicit_instantiation * tr1/2_general_utilities/memory/shared_ptr/requirements/ explicit_instantiation/1.cc * tr1/2_general_utilities/memory/shared_ptr/thread * tr1/2_general_utilities/memory/shared_ptr/thread/ default_weaktoshared.cc * tr1/2_general_utilities/memory/shared_ptr/thread/ mutex_weaktoshared.cc * tr1/2_general_utilities/memory/weak_ptr * tr1/2_general_utilities/memory/weak_ptr/lock * tr1/2_general_utilities/memory/weak_ptr/lock/1.cc * tr1/2_general_utilities/memory/weak_ptr/requirements * tr1/2_general_utilities/memory/weak_ptr/requirements/ explicit_instantiation * tr1/2_general_utilities/memory/weak_ptr/requirements/ explicit_instantiation/1.cc From-SVN: r122171 |
||
Benjamin Kosnik
|
a024740df4 |
[multiple changes]
2007-02-20 Benjamin Kosnik <bkoz@redhat.com> Revamp library API testing. Added: * 17_intro/headers * 17_intro/headers/all_assert_neg.cc * 17_intro/headers/all_c++200x_compatibility.cc * 17_intro/headers/all.cc * 17_intro/headers/c++1998 * 17_intro/headers/c++1998/all.cc * 17_intro/headers/c++1998/all_multiple_inclusion.cc * 17_intro/headers/c++1998/c++_for_c.tar * 17_intro/headers/c++1998/c++.tar * 17_intro/using_namespace_std.cc * 18_support/headers * 18_support/headers/cfloat * 18_support/headers/cfloat/values.cc * 18_support/headers/climits * 18_support/headers/climits/values.cc * 18_support/headers/csetjmp * 18_support/headers/csetjmp/functions_std.cc * 18_support/headers/csetjmp/macros.cc * 18_support/headers/csetjmp/types_std.cc * 18_support/headers/csignal * 18_support/headers/csignal/functions_std.cc * 18_support/headers/csignal/macros.cc * 18_support/headers/csignal/types_std.cc * 18_support/headers/cstdarg * 18_support/headers/cstdarg/macros.cc * 18_support/headers/cstdarg/types_std.cc * 18_support/headers/cstddef * 18_support/headers/cstddef/macros.cc * 18_support/headers/cstddef/types_std.cc * 18_support/headers/cstdlib * 18_support/headers/cstdlib/functions_std.cc * 18_support/headers/cstdlib/macros.cc * 18_support/headers/ctime * 18_support/headers/ctime/functions_std.cc * 18_support/headers/ctime/macros.cc * 18_support/headers/ctime/types_std.cc * 18_support/headers/exception * 18_support/headers/exception/synopsis.cc * 18_support/headers/exception/types_std.cc * 18_support/headers/limits * 18_support/headers/limits/synopsis.cc * 18_support/headers/new * 18_support/headers/new/synopsis.cc * 18_support/headers/new/types_std.cc * 18_support/headers/typeinfo * 18_support/headers/typeinfo/synopsis.cc * 18_support/headers/typeinfo/types_std.cc * 18_support/numeric_limits/is_signed.cc * 18_support/numeric_limits/requirements * 18_support/numeric_limits/requirements/explicit_instantiation * 18_support/numeric_limits/requirements/explicit_instantiation/1.cc * 18_support/numeric_limits/specialization_default_values.cc * 19_diagnostics/headers * 19_diagnostics/headers/cassert * 19_diagnostics/headers/cassert/macros.cc * 19_diagnostics/headers/cerrno * 19_diagnostics/headers/cerrno/macros.cc * 19_diagnostics/headers/stdexcept * 19_diagnostics/headers/stdexcept/synopsis.cc * 19_diagnostics/headers/stdexcept/types_std.cc * 20_util/headers * 20_util/headers/cstdlib * 20_util/headers/cstdlib/functions_std.cc * 20_util/headers/cstring * 20_util/headers/cstring/functions_std.cc * 20_util/headers/cstring/macros.cc * 20_util/headers/cstring/types_std.cc * 20_util/headers/ctime * 20_util/headers/ctime/functions_std.cc * 20_util/headers/ctime/macros.cc * 20_util/headers/ctime/types_std.cc * 20_util/headers/functional * 20_util/headers/functional/synopsis.cc * 20_util/headers/memory * 20_util/headers/memory/synopsis.cc * 20_util/headers/utility * 20_util/headers/utility/synopsis.cc * 20_util/headers/utility/using_namespace_std_rel_ops.cc * 20_util/memory/allocator/requirements * 20_util/memory/allocator/requirements/explicit_instantiation * 20_util/memory/allocator/requirements/explicit_instantiation/1.cc * 20_util/memory/auto_ptr/requirements * 20_util/memory/auto_ptr/requirements/explicit_instantiation * 20_util/memory/auto_ptr/requirements/explicit_instantiation/1.cc * 20_util/memory/raw_storage_iterator * 20_util/memory/raw_storage_iterator/requirements * 20_util/memory/raw_storage_iterator/requirements/base_classes.cc * 20_util/memory/raw_storage_iterator/requirements/ explicit_instantiation * 20_util/memory/raw_storage_iterator/requirements/ explicit_instantiation/1.cc * 20_util/memory/raw_storage_iterator/requirements/typedefs.cc * 20_util/utility/pair/requirements * 20_util/utility/pair/requirements/explicit_instantiation * 20_util/utility/pair/requirements/explicit_instantiation/1.cc * 21_strings/basic_string/requirements * 21_strings/basic_string/requirements/explicit_instantiation * 21_strings/basic_string/requirements/explicit_instantiation/1.cc * 21_strings/basic_string/requirements/explicit_instantiation/debug.cc * 21_strings/headers * 21_strings/headers/cctype * 21_strings/headers/cctype/functions_std.cc * 21_strings/headers/cstdlib * 21_strings/headers/cstdlib/functions_std.cc * 21_strings/headers/cstdlib/macros.cc * 21_strings/headers/cstring * 21_strings/headers/cstring/functions_std.cc * 21_strings/headers/cstring/macros.cc * 21_strings/headers/cstring/types_std.cc * 21_strings/headers/cwchar * 21_strings/headers/cwchar/functions_std.cc * 21_strings/headers/cwchar/macros.cc * 21_strings/headers/cwchar/types_std.cc * 21_strings/headers/cwctype * 21_strings/headers/cwctype/functions_std.cc * 21_strings/headers/cwctype/macros.cc * 21_strings/headers/cwctype/types_std.cc * 21_strings/headers/string * 21_strings/headers/string/synopsis.cc * 21_strings/headers/string/types_std.cc * 22_locale/codecvt_byname/requirements * 22_locale/codecvt_byname/requirements/base_classes.cc * 22_locale/codecvt_byname/requirements/explicit_instantiation.cc * 22_locale/codecvt_byname/requirements/typedefs.cc * 22_locale/codecvt/requirements * 22_locale/codecvt/requirements/base_classes.cc * 22_locale/codecvt/requirements/explicit_instantiation.cc * 22_locale/codecvt/requirements/typedefs.cc * 22_locale/collate_byname/requirements * 22_locale/collate_byname/requirements/base_classes.cc * 22_locale/collate_byname/requirements/explicit_instantiation.cc * 22_locale/collate_byname/requirements/typedefs.cc * 22_locale/collate/requirements * 22_locale/collate/requirements/base_classes.cc * 22_locale/collate/requirements/explicit_instantiation.cc * 22_locale/collate/requirements/typedefs.cc * 22_locale/ctype_base/mask.cc * 22_locale/ctype/requirements * 22_locale/ctype/requirements/base_classes.cc * 22_locale/ctype/requirements/explicit_instantiation.cc * 22_locale/ctype/requirements/typedefs.cc * 22_locale/headers * 22_locale/headers/clocale * 22_locale/headers/clocale/functions_std.cc * 22_locale/headers/clocale/macros.cc * 22_locale/headers/clocale/types_std.cc * 22_locale/headers/locale * 22_locale/headers/locale/synopsis.cc * 22_locale/headers/locale/types_std.cc * 22_locale/messages_byname/requirements * 22_locale/messages_byname/requirements/base_classes.cc * 22_locale/messages_byname/requirements/explicit_instantiation.cc * 22_locale/messages_byname/requirements/typedefs.cc * 22_locale/messages/requirements * 22_locale/messages/requirements/base_classes.cc * 22_locale/messages/requirements/explicit_instantiation.cc * 22_locale/messages/requirements/typedefs.cc * 22_locale/money_get/cons * 22_locale/money_get/cons/3.cc * 22_locale/money_get/requirements * 22_locale/money_get/requirements/base_classes.cc * 22_locale/money_get/requirements/explicit_instantiations.cc * 22_locale/money_get/requirements/typedefs.cc * 22_locale/moneypunct_byname/requirements * 22_locale/moneypunct_byname/requirements/base_classes.cc * 22_locale/moneypunct_byname/requirements/explicit_instantiation.cc * 22_locale/moneypunct_byname/requirements/typedefs.cc * 22_locale/moneypunct/requirements * 22_locale/moneypunct/requirements/false * 22_locale/moneypunct/requirements/false/base_classes.cc * 22_locale/moneypunct/requirements/false/explicit_instantiation.cc * 22_locale/moneypunct/requirements/false/intl.cc * 22_locale/moneypunct/requirements/false/typedefs.cc * 22_locale/moneypunct/requirements/true * 22_locale/moneypunct/requirements/true/base_classes.cc * 22_locale/moneypunct/requirements/true/explicit_instantiation.cc * 22_locale/moneypunct/requirements/true/intl.cc * 22_locale/moneypunct/requirements/true/typedefs.cc * 22_locale/money_put/cons * 22_locale/money_put/cons/3.cc * 22_locale/money_put/requirements * 22_locale/money_put/requirements/base_classes.cc * 22_locale/money_put/requirements/explicit_instantiation.cc * 22_locale/money_put/requirements/typedefs.cc * 22_locale/num_get/cons * 22_locale/num_get/cons/3.cc * 22_locale/num_get/requirements * 22_locale/num_get/requirements/base_classes.cc * 22_locale/num_get/requirements/explicit_instantiation.cc * 22_locale/num_get/requirements/typedefs.cc * 22_locale/numpunct_byname/requirements * 22_locale/numpunct_byname/requirements/base_classes.cc * 22_locale/numpunct_byname/requirements/explicit_instantiations.cc * 22_locale/numpunct_byname/requirements/typedefs.cc * 22_locale/numpunct/requirements * 22_locale/numpunct/requirements/base_classes.cc * 22_locale/numpunct/requirements/explicit_instantiations.cc * 22_locale/numpunct/requirements/typedefs.cc * 22_locale/num_put/cons * 22_locale/num_put/cons/3.cc * 22_locale/num_put/requirements * 22_locale/num_put/requirements/base_classes.cc * 22_locale/num_put/requirements/explicit_instantiations.cc * 22_locale/num_put/requirements/typedefs.cc * 22_locale/time_get/requirements * 22_locale/time_get/requirements/base_classes.cc * 22_locale/time_get/requirements/explicit_instantiations.cc * 22_locale/time_get/requirements/typedefs.cc * 22_locale/time_put/requirements * 22_locale/time_put/requirements/base_classes.cc * 22_locale/time_put/requirements/explicit_instantiations.cc * 22_locale/time_put/requirements/typedefs.cc * 23_containers/bitset/requirements * 23_containers/bitset/requirements/explicit_instantiation * 23_containers/bitset/requirements/explicit_instantiation/1.cc * 23_containers/deque/requirements * 23_containers/deque/requirements/explicit_instantiation * 23_containers/deque/requirements/partial_specialization * 23_containers/deque/requirements/partial_specialization/1.cc * 23_containers/headers * 23_containers/headers/bitset * 23_containers/headers/bitset/synopsis.cc * 23_containers/headers/deque * 23_containers/headers/deque/synopsis.cc * 23_containers/headers/list * 23_containers/headers/list/synopsis.cc * 23_containers/headers/map * 23_containers/headers/map/synopsis.cc * 23_containers/headers/queue * 23_containers/headers/queue/synopsis.cc * 23_containers/headers/set * 23_containers/headers/set/synopsis.cc * 23_containers/headers/stack * 23_containers/headers/stack/synopsis.cc * 23_containers/headers/vector * 23_containers/headers/vector/synopsis.cc * 23_containers/list/requirements * 23_containers/list/requirements/explicit_instantiation * 23_containers/list/requirements/partial_specialization * 23_containers/list/requirements/partial_specialization/1.cc * 23_containers/map/requirements * 23_containers/map/requirements/explicit_instantiation * 23_containers/map/requirements/partial_specialization * 23_containers/map/requirements/partial_specialization/1.cc * 23_containers/multimap/requirements * 23_containers/multimap/requirements/explicit_instantiation * 23_containers/multimap/requirements/partial_specialization * 23_containers/multimap/requirements/partial_specialization/1.cc * 23_containers/multiset/requirements * 23_containers/multiset/requirements/explicit_instantiation * 23_containers/multiset/requirements/partial_specialization * 23_containers/multiset/requirements/partial_specialization/1.cc * 23_containers/priority_queue/requirements * 23_containers/priority_queue/requirements/explicit_instantiation * 23_containers/priority_queue/requirements/explicit_instantiation/1.cc * 23_containers/queue/requirements * 23_containers/queue/requirements/explicit_instantiation * 23_containers/queue/requirements/explicit_instantiation/1.cc * 23_containers/set/requirements * 23_containers/set/requirements/explicit_instantiation * 23_containers/set/requirements/partial_specialization * 23_containers/set/requirements/partial_specialization/1.cc * 23_containers/stack/requirements * 23_containers/stack/requirements/explicit_instantiation * 23_containers/stack/requirements/explicit_instantiation/1.cc * 23_containers/vector/requirements * 23_containers/vector/requirements/explicit_instantiation * 23_containers/vector/requirements/partial_specialization * 23_containers/vector/requirements/partial_specialization/1.cc * 24_iterators/back_insert_iterator * 24_iterators/back_insert_iterator/2.cc * 24_iterators/back_insert_iterator/requirements * 24_iterators/back_insert_iterator/requirements/base_classes.cc * 24_iterators/back_insert_iterator/requirements/container.cc * 24_iterators/back_insert_iterator/requirements/ explicit_instantiation.cc * 24_iterators/back_insert_iterator/requirements/typedefs.cc * 24_iterators/front_insert_iterator * 24_iterators/front_insert_iterator/2.cc * 24_iterators/front_insert_iterator/requirements * 24_iterators/front_insert_iterator/requirements/base_classes.cc * 24_iterators/front_insert_iterator/requirements/container.cc * 24_iterators/front_insert_iterator/requirements/ explicit_instantiation.cc * 24_iterators/front_insert_iterator/requirements/typedefs.cc * 24_iterators/headers * 24_iterators/headers/iterator * 24_iterators/headers/iterator/synopsis.cc * 24_iterators/headers/iterator/types_std.cc * 24_iterators/insert_iterator * 24_iterators/insert_iterator/2.cc * 24_iterators/insert_iterator/requirements * 24_iterators/insert_iterator/requirements/base_classes.cc * 24_iterators/insert_iterator/requirements/container.cc * 24_iterators/insert_iterator/requirements/explicit_instantiation.cc * 24_iterators/insert_iterator/requirements/typedefs.cc * 24_iterators/istreambuf_iterator/requirements * 24_iterators/istreambuf_iterator/requirements/base_classes.cc * 24_iterators/istreambuf_iterator/requirements/ explicit_instantiation.cc * 24_iterators/istreambuf_iterator/requirements/typedefs.cc * 24_iterators/istream_iterator * 24_iterators/istream_iterator/2.cc * 24_iterators/istream_iterator/requirements * 24_iterators/istream_iterator/requirements/base_classes.cc * 24_iterators/istream_iterator/requirements/explicit_instantiation.cc * 24_iterators/istream_iterator/requirements/typedefs.cc * 24_iterators/ostreambuf_iterator/requirements * 24_iterators/ostreambuf_iterator/requirements/base_classes.cc * 24_iterators/ostreambuf_iterator/requirements/ explicit_instantiation.cc * 24_iterators/ostreambuf_iterator/requirements/typedefs.cc * 24_iterators/ostream_iterator * 24_iterators/ostream_iterator/requirements * 24_iterators/ostream_iterator/requirements/base_classes.cc * 24_iterators/ostream_iterator/requirements/explicit_instantiation.cc * 24_iterators/ostream_iterator/requirements/typedefs.cc * 24_iterators/random_access_iterator * 24_iterators/random_access_iterator/26020.cc * 24_iterators/random_access_iterator/string_vector_iterators.cc * 24_iterators/reverse_iterator/requirements * 24_iterators/reverse_iterator/requirements/base_classes.cc * 24_iterators/reverse_iterator/requirements/current.cc * 24_iterators/reverse_iterator/requirements/explicit_instantiation.cc * 24_iterators/reverse_iterator/requirements/typedefs.cc * 25_algorithms/headers * 25_algorithms/headers/algorithm * 25_algorithms/headers/algorithm/synopsis.cc * 25_algorithms/headers/cstdlib * 25_algorithms/headers/cstdlib/functions_std.cc * 26_numerics/headers * 26_numerics/headers/cmath * 26_numerics/headers/cmath/19322.cc * 26_numerics/headers/cmath/c99_classification_macros_c.cc * 26_numerics/headers/cmath/c99_classification_macros_c++.cc * 26_numerics/headers/cmath/c_math.cc * 26_numerics/headers/cmath/c_math_dynamic.cc * 26_numerics/headers/cmath/fabs_inline.cc * 26_numerics/headers/cmath/functions_std.cc * 26_numerics/headers/cmath/macros.cc * 26_numerics/headers/cmath/overloads.cc * 26_numerics/headers/cmath/powi.cc * 26_numerics/headers/complex * 26_numerics/headers/complex/synopsis.cc * 26_numerics/headers/cstdlib * 26_numerics/headers/cstdlib/13943.cc * 26_numerics/headers/cstdlib/2190.cc * 26_numerics/headers/cstdlib/functions_std.cc * 26_numerics/headers/cstdlib/macros.cc * 26_numerics/headers/cstdlib/types_std.cc * 26_numerics/headers/numeric * 26_numerics/headers/numeric/synopsis.cc * 26_numerics/headers/valarray * 26_numerics/headers/valarray/synopsis.cc * 26_numerics/headers/valarray/types_std.cc * 26_numerics/numeric_arrays * 26_numerics/numeric_operations * 27_io/basic_filebuf/cons/2020.cc * 27_io/basic_filebuf/requirements * 27_io/basic_filebuf/requirements/base_classes.cc * 27_io/basic_filebuf/requirements/explicit_instantiation.cc * 27_io/basic_filebuf/requirements/typedefs.cc * 27_io/basic_fstream/cons * 27_io/basic_fstream/cons/3.cc * 27_io/basic_fstream/requirements * 27_io/basic_fstream/requirements/base_classes.cc * 27_io/basic_fstream/requirements/explicit_instantiation.cc * 27_io/basic_fstream/requirements/typedefs.cc * 27_io/basic_ifstream/cons/2020.cc * 27_io/basic_ifstream/requirements * 27_io/basic_ifstream/requirements/base_classes.cc * 27_io/basic_ifstream/requirements/explicit_instantiation.cc * 27_io/basic_ifstream/requirements/typedefs.cc * 27_io/basic_ios/cons/2020.cc * 27_io/basic_ios/requirements * 27_io/basic_ios/requirements/base_classes.cc * 27_io/basic_ios/requirements/explicit_instantiation.cc * 27_io/basic_ios/requirements/typedefs.cc * 27_io/basic_iostream/cons * 27_io/basic_iostream/cons/2020.cc * 27_io/basic_iostream/requirements * 27_io/basic_iostream/requirements/base_classes.cc * 27_io/basic_iostream/requirements/explicit_instantiation.cc * 27_io/basic_iostream/requirements/typedefs.cc * 27_io/basic_istream/cons * 27_io/basic_istream/cons/3.cc * 27_io/basic_istream/requirements * 27_io/basic_istream/requirements/base_classes.cc * 27_io/basic_istream/requirements/explicit_instantiation.cc * 27_io/basic_istream/requirements/typedefs.cc * 27_io/basic_istringstream/cons * 27_io/basic_istringstream/cons/2020.cc * 27_io/basic_istringstream/requirements * 27_io/basic_istringstream/requirements/base_classes.cc * 27_io/basic_istringstream/requirements/explicit_instantiation.cc * 27_io/basic_istringstream/requirements/typedefs.cc * 27_io/basic_ofstream/cons/2020.cc * 27_io/basic_ofstream/requirements * 27_io/basic_ofstream/requirements/base_classes.cc * 27_io/basic_ofstream/requirements/explicit_instantiations.cc * 27_io/basic_ofstream/requirements/typedefs.cc * 27_io/basic_ostream/cons/2020.cc * 27_io/basic_ostream/requirements * 27_io/basic_ostream/requirements/base_classes.cc * 27_io/basic_ostream/requirements/explicit_instantiation.cc * 27_io/basic_ostream/requirements/typedefs.cc * 27_io/basic_ostringstream/cons/2020.cc * 27_io/basic_ostringstream/requirements * 27_io/basic_ostringstream/requirements/base_classes.cc * 27_io/basic_ostringstream/requirements/explicit_instantiation.cc * 27_io/basic_ostringstream/requirements/typedefs.cc * 27_io/basic_streambuf/cons/2020.cc * 27_io/basic_streambuf/requirements * 27_io/basic_streambuf/requirements/base_classes.cc * 27_io/basic_streambuf/requirements/typedefs.cc * 27_io/basic_stringbuf/cons/2020.cc * 27_io/basic_stringbuf/requirements * 27_io/basic_stringbuf/requirements/base_classes.cc * 27_io/basic_stringbuf/requirements/explicit_instantiation * 27_io/basic_stringbuf/requirements/explicit_instantiation/2.cc * 27_io/basic_stringbuf/requirements/explicit_instantiation/4.cc * 27_io/basic_stringbuf/requirements/typedefs.cc * 27_io/basic_stringstream/cons * 27_io/basic_stringstream/cons/2020.cc * 27_io/basic_stringstream/requirements * 27_io/basic_stringstream/requirements/base_classes.cc * 27_io/basic_stringstream/requirements/explicit_instantiation.cc * 27_io/basic_stringstream/requirements/typedefs.cc * 27_io/fpos/requirements * 27_io/fpos/requirements/explicit_instantiation.cc * 27_io/headers * 27_io/headers/cstdio * 27_io/headers/cstdio/functions_std.cc * 27_io/headers/cstdio/macros.cc * 27_io/headers/cstdio/types_std.cc * 27_io/headers/cstdlib * 27_io/headers/fstream * 27_io/headers/fstream/synopsis.cc * 27_io/headers/fstream/types_std.cc * 27_io/headers/iomanip * 27_io/headers/iomanip/synopsis.cc * 27_io/headers/ios * 27_io/headers/ios/synopsis.cc * 27_io/headers/iostream * 27_io/headers/iostream/synopsis.cc * 27_io/headers/iostream/types_std.cc * 27_io/headers/ios/types_std.cc * 27_io/headers/istream * 27_io/headers/istream/synopsis.cc * 27_io/headers/istream/types_std.cc * 27_io/headers/ostream * 27_io/headers/ostream/synopsis.cc * 27_io/headers/ostream/types_std.cc * 27_io/headers/sstream * 27_io/headers/sstream/synopsis.cc * 27_io/headers/sstream/types_std.cc * 27_io/headers/streambuf * 27_io/headers/streambuf/synopsis.cc * 27_io/headers/streambuf/types_std.cc * ext/debug_allocator/explicit_instantiation.cc * ext/hash_map/requirements * ext/hash_map/requirements/explicit_instantiation.cc * ext/hash_set/requirements * ext/hash_set/requirements/explicit_instantiation.cc * ext/malloc_allocator/explicit_instantiation.cc * ext/mt_allocator/explicit_instantiation.cc * ext/pool_allocator/explicit_instantiation.cc * ext/slist/requirements * ext/slist/requirements/explicit_instantiation.cc * ext/stdio_filebuf/requirements * ext/stdio_filebuf/requirements/explicit_instantiation.cc * ext/vstring/requirements * ext/vstring/requirements/explicit_instantiation * tr1/2_general_utilities/headers * tr1/2_general_utilities/headers/functional * tr1/2_general_utilities/headers/functional/synopsis.cc * tr1/2_general_utilities/headers/memory * tr1/2_general_utilities/headers/memory/synopsis.cc * tr1/2_general_utilities/headers/memory/types_std_tr1.cc * tr1/2_general_utilities/memory/enable_shared_from_this/requirements * tr1/2_general_utilities/memory/enable_shared_from_this/ requirements/explicit_instantiation * tr1/2_general_utilities/memory/shared_ptr/requirements * tr1/2_general_utilities/memory/shared_ptr/requirements/ explicit_instantiation * tr1/2_general_utilities/memory/weak_ptr/requirements * tr1/2_general_utilities/memory/weak_ptr/requirements/ explicit_instantiation * tr1/3_function_objects/headers * tr1/3_function_objects/headers/functional * tr1/3_function_objects/headers/functional/synopsis.cc * tr1/3_function_objects/headers/functional/types_std_tr1.cc * tr1/3_function_objects/headers/functional/ using_namespace_std_tr1_placeholders.cc * tr1/4_metaprogramming/headers * tr1/4_metaprogramming/headers/type_traits * tr1/4_metaprogramming/headers/type_traits/synopsis.cc * tr1/4_metaprogramming/headers/type_traits/types_std_tr1.cc * tr1/5_numerical_facilities/headers * tr1/5_numerical_facilities/headers/random * tr1/5_numerical_facilities/headers/random/synopsis.cc * tr1/5_numerical_facilities/headers/random/types_std_tr1.cc * tr1/5_numerical_facilities/random/discard_block/ requirements/typedefs.cc * tr1/6_containers/array/requirements/explicit_instantiation.cc * tr1/6_containers/hash * tr1/6_containers/hash/requirements * tr1/6_containers/hash/requirements/base_classes.cc * tr1/6_containers/hash/requirements/explicit_instantiation.cc * tr1/6_containers/headers * tr1/6_containers/headers/array * tr1/6_containers/headers/array/synopsis.cc * tr1/6_containers/headers/functional * tr1/6_containers/headers/functional/synopsis.cc * tr1/6_containers/headers/tuple * tr1/6_containers/headers/tuple/synopsis.cc * tr1/6_containers/headers/tuple/types_std_tr1.cc * tr1/6_containers/headers/unordered_map * tr1/6_containers/headers/unordered_map/synopsis.cc * tr1/6_containers/headers/unordered_set * tr1/6_containers/headers/unordered_set/synopsis.cc * tr1/6_containers/tuple/requirements * tr1/6_containers/tuple/requirements/explicit_instantiation.cc * tr1/6_containers/unordered_map * tr1/6_containers/unordered_map/24064.cc * tr1/6_containers/unordered_map/capacity * tr1/6_containers/unordered_map/capacity/29134-map.cc * tr1/6_containers/unordered_map/erase * tr1/6_containers/unordered_map/erase/24061-map.cc * tr1/6_containers/unordered_map/find * tr1/6_containers/unordered_map/find/map1.cc * tr1/6_containers/unordered_map/insert * tr1/6_containers/unordered_map/insert/24061-map.cc * tr1/6_containers/unordered_map/insert/array_syntax.cc * tr1/6_containers/unordered_map/insert/map_range.cc * tr1/6_containers/unordered_map/insert/map_single.cc * tr1/6_containers/unordered_map/requirements * tr1/6_containers/unordered_map/requirements/explicit_instantiation.cc * tr1/6_containers/unordered_map/requirements/iterator_neg.cc * tr1/6_containers/unordered_map/requirements/iterator_null_neg.cc * tr1/6_containers/unordered_map/swap * tr1/6_containers/unordered_map/swap/1.cc * tr1/6_containers/unordered_map/swap/2.cc * tr1/6_containers/unordered_multimap * tr1/6_containers/unordered_multimap/capacity * tr1/6_containers/unordered_multimap/capacity/29134-multimap.cc * tr1/6_containers/unordered_multimap/erase * tr1/6_containers/unordered_multimap/erase/24061-multimap.cc * tr1/6_containers/unordered_multimap/find * tr1/6_containers/unordered_multimap/find/multimap1.cc * tr1/6_containers/unordered_multimap/insert * tr1/6_containers/unordered_multimap/insert/24061-multimap.cc * tr1/6_containers/unordered_multimap/insert/multimap_range.cc * tr1/6_containers/unordered_multimap/insert/multimap_single.cc * tr1/6_containers/unordered_multimap/requirements * tr1/6_containers/unordered_multimap/requirements/ explicit_instantiation.cc * tr1/6_containers/unordered_multimap/requirements/iterator_neg.cc * tr1/6_containers/unordered_multimap/requirements/iterator_null_neg.cc * tr1/6_containers/unordered_multimap/swap * tr1/6_containers/unordered_multimap/swap/1.cc * tr1/6_containers/unordered_multimap/swap/2.cc * tr1/6_containers/unordered_multiset * tr1/6_containers/unordered_multiset/24054.cc * tr1/6_containers/unordered_multiset/capacity * tr1/6_containers/unordered_multiset/capacity/29134-multiset.cc * tr1/6_containers/unordered_multiset/erase * tr1/6_containers/unordered_multiset/erase/24061-multiset.cc * tr1/6_containers/unordered_multiset/find * tr1/6_containers/unordered_multiset/find/multiset1.cc * tr1/6_containers/unordered_multiset/insert * tr1/6_containers/unordered_multiset/insert/24061-multiset.cc * tr1/6_containers/unordered_multiset/insert/multiset_range.cc * tr1/6_containers/unordered_multiset/insert/multiset_single.cc * tr1/6_containers/unordered_multiset/requirements * tr1/6_containers/unordered_multiset/requirements/ explicit_instantiation.cc * tr1/6_containers/unordered_multiset/requirements/iterator_neg.cc * tr1/6_containers/unordered_multiset/requirements/iterator_null_neg.cc * tr1/6_containers/unordered_multiset/swap * tr1/6_containers/unordered_multiset/swap/1.cc * tr1/6_containers/unordered_multiset/swap/2.cc * tr1/6_containers/unordered_set * tr1/6_containers/unordered_set/23053.cc * tr1/6_containers/unordered_set/23465.cc * tr1/6_containers/unordered_set/26127.cc * tr1/6_containers/unordered_set/26132.cc * tr1/6_containers/unordered_set/capacity * tr1/6_containers/unordered_set/capacity/29134-set.cc * tr1/6_containers/unordered_set/erase * tr1/6_containers/unordered_set/erase/24061-set.cc * tr1/6_containers/unordered_set/find * tr1/6_containers/unordered_set/find/set1.cc * tr1/6_containers/unordered_set/insert * tr1/6_containers/unordered_set/insert/24061-set.cc * tr1/6_containers/unordered_set/insert/set_range.cc * tr1/6_containers/unordered_set/insert/set_single.cc * tr1/6_containers/unordered_set/requirements * tr1/6_containers/unordered_set/requirements/explicit_instantiation.cc * tr1/6_containers/unordered_set/requirements/iterator_neg.cc * tr1/6_containers/unordered_set/requirements/iterator_null_neg.cc * tr1/6_containers/unordered_set/requirements/ iterators_default_constructor.cc * tr1/6_containers/unordered_set/swap * tr1/6_containers/unordered_set/swap/1.cc * tr1/6_containers/unordered_set/swap/2.cc * tr1/using_namespace_std_tr1.cc Deleted: * 17_intro/header_cassert.cc * 17_intro/header_cerrno.cc * 17_intro/header_csetjmp.cc * 17_intro/header_cstdarg.cc * 17_intro/header_cstddef.cc * 17_intro/header_cstdio.cc * 17_intro/header_cstdlib.cc * 17_intro/header_cstring.cc * 17_intro/header_ctime.cc * 17_intro/header_cwchar.cc * 17_intro/header_cwctype.cc * 17_intro/header_fstream.cc * 17_intro/header_iomanip.cc * 17_intro/header_ios.cc * 17_intro/header_iosfwd.cc * 17_intro/header_iostream.cc * 17_intro/header_istream.cc * 17_intro/header_ostream.cc * 17_intro/headers.cc * 17_intro/headers_c++_c++0x_compat.cc * 17_intro/headers_c.cc * 17_intro/headers_c++.cc * 17_intro/header_sstream.cc * 17_intro/header_streambuf.cc * 17_intro/no_assert_neg.cc * 18_support/numeric_limits/sign.cc * 18_support/numeric_limits/specialization.cc * 20_util/memory/raw_storage_iterator.cc * 21_strings/basic_string/1.cc * 21_strings/basic_string/2.cc * 22_locale/codecvt/1.cc * 22_locale/codecvt/2.cc * 22_locale/codecvt_byname/1.cc * 22_locale/collate/1.cc * 22_locale/collate/2.cc * 22_locale/collate_byname/1.cc * 22_locale/ctype/1.cc * 22_locale/ctype_base/1.cc * 22_locale/messages/1.cc * 22_locale/messages/2.cc * 22_locale/messages_byname/1.cc * 22_locale/money_get/1.cc * 22_locale/money_get/2.cc * 22_locale/money_get/3.cc * 22_locale/moneypunct/1.cc * 22_locale/moneypunct/2.cc * 22_locale/moneypunct/3.cc * 22_locale/moneypunct_byname/1.cc * 22_locale/money_put/1.cc * 22_locale/money_put/2.cc * 22_locale/money_put/3.cc * 22_locale/num_get/1.cc * 22_locale/num_get/2.cc * 22_locale/num_get/3.cc * 22_locale/numpunct/1.cc * 22_locale/numpunct/2.cc * 22_locale/numpunct_byname/1.cc * 22_locale/num_put/1.cc * 22_locale/num_put/2.cc * 22_locale/num_put/3.cc * 22_locale/time_get/1.cc * 22_locale/time_get/2.cc * 22_locale/time_put/1.cc * 22_locale/time_put/2.cc * 23_containers/deque/1.cc * 23_containers/deque/explicit_instantiation * 23_containers/deque/explicit_instantiation/1.cc * 23_containers/deque/explicit_instantiation/2.cc * 23_containers/deque/explicit_instantiation/3.cc * 23_containers/list/1.cc * 23_containers/list/explicit_instantiation * 23_containers/list/explicit_instantiation/1.cc * 23_containers/list/explicit_instantiation/2.cc * 23_containers/list/explicit_instantiation/3.cc * 23_containers/map/1.cc * 23_containers/map/explicit_instantiation * 23_containers/map/explicit_instantiation/1.cc * 23_containers/map/explicit_instantiation/2.cc * 23_containers/map/explicit_instantiation/3.cc * 23_containers/multimap/1.cc * 23_containers/multimap/explicit_instantiation * 23_containers/multimap/explicit_instantiation/1.cc * 23_containers/multimap/explicit_instantiation/2.cc * 23_containers/multimap/explicit_instantiation/3.cc * 23_containers/multiset/1.cc * 23_containers/multiset/explicit_instantiation * 23_containers/multiset/explicit_instantiation/1.cc * 23_containers/multiset/explicit_instantiation/2.cc * 23_containers/multiset/explicit_instantiation/3.cc * 23_containers/set/1.cc * 23_containers/set/explicit_instantiation * 23_containers/set/explicit_instantiation/1.cc * 23_containers/set/explicit_instantiation/2.cc * 23_containers/set/explicit_instantiation/3.cc * 23_containers/vector/1.cc * 23_containers/vector/explicit_instantiation * 23_containers/vector/explicit_instantiation/1.cc * 23_containers/vector/explicit_instantiation/2.cc * 23_containers/vector/explicit_instantiation/3.cc * 24_iterators/26020.cc * 24_iterators/back_insert_iterator.cc * 24_iterators/front_insert_iterator.cc * 24_iterators/insert_iterator.cc * 24_iterators/istreambuf_iterator/1.cc * 24_iterators/istream_iterator.cc * 24_iterators/iterator.cc * 24_iterators/ostreambuf_iterator/1.cc * 24_iterators/ostream_iterator.cc * 24_iterators/reverse_iterator/1.cc * 26_numerics/cmath * 26_numerics/cmath/19322.cc * 26_numerics/cmath/c99_classification_macros_c.cc * 26_numerics/cmath/c99_classification_macros_c++.cc * 26_numerics/cmath/c_math.cc * 26_numerics/cmath/c_math_dynamic.cc * 26_numerics/cmath/fabs_inline.cc * 26_numerics/cmath/overloads.cc * 26_numerics/cmath/powi.cc * 26_numerics/cstdlib * 26_numerics/cstdlib/13943.cc * 26_numerics/numeric * 26_numerics/numeric/sum_diff.cc * 26_numerics/valarray * 26_numerics/valarray/27867.cc * 26_numerics/valarray/28277.cc * 26_numerics/valarray/30416.cc * 26_numerics/valarray/binary_closure.cc * 26_numerics/valarray/dr543.cc * 26_numerics/valarray/slice_array_assignment.cc * 26_numerics/valarray/slice.cc * 26_numerics/valarray/valarray.cc * 26_numerics/valarray/valarray_const_bracket.cc * 26_numerics/valarray/valarray_name_lookup.cc * 26_numerics/valarray/valarray_operators.cc * 26_numerics/valarray/valarray_subset_assignment.cc * 27_io/basic_filebuf/1.cc * 27_io/basic_filebuf/2.cc * 27_io/basic_filebuf/3.cc * 27_io/basic_filebuf/4.cc * 27_io/basic_fstream/1.cc * 27_io/basic_fstream/2.cc * 27_io/basic_fstream/3.cc * 27_io/basic_fstream/4.cc * 27_io/basic_ifstream/1.cc * 27_io/basic_ifstream/2.cc * 27_io/basic_ifstream/3.cc * 27_io/basic_ifstream/4.cc * 27_io/basic_ios/1.cc * 27_io/basic_ios/2.cc * 27_io/basic_ios/3.cc * 27_io/basic_ios/4.cc * 27_io/basic_iostream/1.cc * 27_io/basic_iostream/2.cc * 27_io/basic_iostream/3.cc * 27_io/basic_iostream/4.cc * 27_io/basic_istream/1.cc * 27_io/basic_istream/2.cc * 27_io/basic_istream/3.cc * 27_io/basic_istream/4.cc * 27_io/basic_istringstream/1.cc * 27_io/basic_istringstream/2.cc * 27_io/basic_istringstream/3.cc * 27_io/basic_istringstream/4.cc * 27_io/basic_ofstream/1.cc * 27_io/basic_ofstream/2.cc * 27_io/basic_ofstream/3.cc * 27_io/basic_ofstream/4.cc * 27_io/basic_ostream/1.cc * 27_io/basic_ostream/2.cc * 27_io/basic_ostream/3.cc * 27_io/basic_ostream/4.cc * 27_io/basic_ostringstream/1.cc * 27_io/basic_ostringstream/2.cc * 27_io/basic_ostringstream/3.cc * 27_io/basic_ostringstream/4.cc * 27_io/basic_streambuf/1.cc * 27_io/basic_streambuf/2.cc * 27_io/basic_streambuf/3.cc * 27_io/basic_stringbuf/1.cc * 27_io/basic_stringbuf/2.cc * 27_io/basic_stringbuf/3.cc * 27_io/basic_stringbuf/4.cc * 27_io/basic_stringbuf/5.cc * 27_io/basic_stringstream/1.cc * 27_io/basic_stringstream/2.cc * 27_io/basic_stringstream/3.cc * 27_io/basic_stringstream/4.cc * 27_io/fpos/1.cc * ext/debug_allocator/instantiate.cc * ext/hash_map/instantiate.cc * ext/hash_set/instantiate.cc * ext/malloc_allocator/instantiate.cc * ext/mt_allocator/instantiate.cc * ext/pool_allocator/instantiate.cc * ext/slist/instantiate.cc * ext/stdio_filebuf/char/1.cc * ext/vstring/explicit_instantiation * ext/vstring/explicit_instantiation/1.cc * ext/vstring/explicit_instantiation/2.cc * ext/vstring/explicit_instantiation/char * ext/vstring/explicit_instantiation/char/1.cc * ext/vstring/explicit_instantiation/wchar_t * ext/vstring/explicit_instantiation/wchar_t/1.cc * tr1/2_general_utilities/memory/enable_shared_from_this/ explicit_instantiation * tr1/2_general_utilities/memory/enable_shared_from_this/ explicit_instantiation/1.cc * tr1/2_general_utilities/memory/shared_ptr/explicit_instantiation * tr1/2_general_utilities/memory/shared_ptr/explicit_instantiation/1.cc * tr1/2_general_utilities/memory/weak_ptr/explicit_instantiation * tr1/2_general_utilities/memory/weak_ptr/explicit_instantiation/1.cc * tr1/5_numerical_facilities/random/discard_block/requirements/ requirements.cc * tr1/6_containers/array/requirements/instantiate.cc * tr1/6_containers/unordered * tr1/6_containers/unordered/23781.cc * tr1/6_containers/unordered/capacity * tr1/6_containers/unordered/capacity/29134-map.cc * tr1/6_containers/unordered/capacity/29134-multimap.cc * tr1/6_containers/unordered/capacity/29134-multiset.cc * tr1/6_containers/unordered/capacity/29134-set.cc * tr1/6_containers/unordered/erase * tr1/6_containers/unordered/erase/24061-map.cc * tr1/6_containers/unordered/erase/24061-multimap.cc * tr1/6_containers/unordered/erase/24061-multiset.cc * tr1/6_containers/unordered/erase/24061-set.cc * tr1/6_containers/unordered/find * tr1/6_containers/unordered/find/map1.cc * tr1/6_containers/unordered/find/multimap1.cc * tr1/6_containers/unordered/find/multiset1.cc * tr1/6_containers/unordered/find/set1.cc * tr1/6_containers/unordered/hash * tr1/6_containers/unordered/hash/24799.cc * tr1/6_containers/unordered/hashtable * tr1/6_containers/unordered/hashtable/23053.cc * tr1/6_containers/unordered/hashtable/23465.cc * tr1/6_containers/unordered/hashtable/24054.cc * tr1/6_containers/unordered/hashtable/24064.cc * tr1/6_containers/unordered/hashtable/26127.cc * tr1/6_containers/unordered/hashtable/26132.cc * tr1/6_containers/unordered/hashtable/iterators_default_constructor.cc * tr1/6_containers/unordered/insert * tr1/6_containers/unordered/insert/24061-map.cc * tr1/6_containers/unordered/insert/24061-multimap.cc * tr1/6_containers/unordered/insert/24061-multiset.cc * tr1/6_containers/unordered/insert/24061-set.cc * tr1/6_containers/unordered/insert/array_syntax.cc * tr1/6_containers/unordered/insert/map_range.cc * tr1/6_containers/unordered/insert/map_single.cc * tr1/6_containers/unordered/insert/multimap_range.cc * tr1/6_containers/unordered/insert/multimap_single.cc * tr1/6_containers/unordered/insert/multiset_range.cc * tr1/6_containers/unordered/insert/multiset_single.cc * tr1/6_containers/unordered/insert/set_range.cc * tr1/6_containers/unordered/insert/set_single.cc * tr1/6_containers/unordered/instantiate * tr1/6_containers/unordered/instantiate/hash.cc * tr1/6_containers/unordered/instantiate/map.cc * tr1/6_containers/unordered/instantiate/multimap.cc * tr1/6_containers/unordered/instantiate/multiset.cc * tr1/6_containers/unordered/instantiate/set.cc * tr1/6_containers/unordered/swap * tr1/6_containers/unordered/swap/unordered_map * tr1/6_containers/unordered/swap/unordered_map/1.cc * tr1/6_containers/unordered/swap/unordered_map/2.cc * tr1/6_containers/unordered/swap/unordered_multimap * tr1/6_containers/unordered/swap/unordered_multimap/1.cc * tr1/6_containers/unordered/swap/unordered_multimap/2.cc * tr1/6_containers/unordered/swap/unordered_multiset * tr1/6_containers/unordered/swap/unordered_multiset/1.cc * tr1/6_containers/unordered/swap/unordered_multiset/2.cc * tr1/6_containers/unordered/swap/unordered_set * tr1/6_containers/unordered/swap/unordered_set/1.cc * tr1/6_containers/unordered/swap/unordered_set/2.cc * tr1/6_containers/unordered/types * tr1/6_containers/unordered/types/map_iterator.cc * tr1/6_containers/unordered/types/multimap_iterator.cc * tr1/6_containers/unordered/types/multiset_iterator.cc * tr1/6_containers/unordered/types/set_iterator.cc * 24_iterators/reverse_iterator/2.cc: To just one non-requirements test. * ext/headers.cc: Add new includes. 2007-02-18 Paolo Carlini <pcarlini@suse.de> PR libstdc++/28080 (partial) * include/bits/stl_algobase.h: Do not include <climits>, use std::numeric_limits. * include/bits/stl_bvector.h: Use __CHAR_BIT__. * config/locale/gnu/codecvt_members.cc: Include <climits>. * config/locale/generic/codecvt_members.cc: Likewise. * include/std/string: Do not include <algorithm>; do not include <memory>, include <bits/allocator.h> instead. * include/ext/vstring_fwd.h: Likewise. * include/ext/vstring_util.h: Do not include <algorithm>. * include/tr1/hashtable_policy.h: Include <algorithm>. * testsuite/21_strings/basic_string/replace/char/1.cc: Likewise. * testsuite/21_strings/basic_string/replace/wchar_t/1.cc: Likewise. * testsuite/23_containers/bitset/cons/1.cc: Likewise. * testsuite/util/testsuite_character.h: Likewise. * config/locale/gnu/codecvt_members.cc: Also include <cstdlib>, for MB_CUR_MAX. * config/locale/generic/codecvt_members.cc: Likewise. From-SVN: r122168 |
||
Paolo Carlini
|
14c52eca78 |
DR 541, [WP].
2006-12-22 Paolo Carlini <pcarlini@suse.de> DR 541, [WP]. * include/std/memory (auto_ptr<void>): Add specialization. * testsuite/tr1/2_general_utilities/memory/shared_ptr/ assign/dr541.cc: New. * testsuite/20_util/memory/auto_ptr/assign_neg.cc: Adjust dg-error markers. * docs/html/ext/howto.html: Add an entry for DR 541. From-SVN: r120148 |
||
Chris Jefferson
|
8b5bc374b1 |
mt_allocator.h (__mt_alloc::__mt_alloc): Remove name of unused parameter.
2005-12-26 Chris Jefferson <chris@bubblescope.net> * include/ext/mt_allocator.h (__mt_alloc::__mt_alloc): Remove name of unused parameter. * include/bits/stream_iterator.h (istream_iterator::istream_iterator): Construct _M_value. * include/debug/functions.h (__check_valid_range): Add __attribute__((unused)). * include/tr1/hashtable (hashtable::end): Remove name of unused parameter. * include/tr1/tuple_iterate.h (tuple::tuple): Likewise. (tuple::operator=): Add __attribute__((unused)). * include/tr1/functional (Fnv_hash<4>::hash): Add static_cast. (Fnv_hash<8>::hash): Likewise. * testsuite/25_algorithms/iter_swap/20577.cc (swap): Remove name of unused parameter. * testsuite/25_algorithms/unique_copy/check_type.cc (S2::S2,X2::X2): Likewise. * testsuite/22_locale/ctype/narrow/char/19955.cc (do_narrow): Likewise. * testsuite/22_locale/ctype/is/char/9858.cc (Derived::do_is, Derived::do_scan_is, Derived::do_scan_not, Derived2::do_is, Derived2::do_scan_is, Derived2::do_scan_not): Likewise. * testsuite/22_locale/time_put/put/wchar_t/12439_1.cc (TP::do_put): Likewise. * testsuite/22_locale/time_put/put/wchar_t/12439_3.cc (TP::do_put): Likewise. * testsuite/22_locale/time_put/put/char/12439_1.cc (TP::do_put): Likewise. * testsuite/22_locale/time_put/put/char/12439_3.cc (TP::do_put): Likewise. * testsuite/testsuite_io.h (fail_num_get::do_get, fail_num_put::do_put): Likewise. * testsuite/25_algorithms/find/17441.cc (find): Likewise. * testsuite/23_containers/vector/cons/clear_allocator.cc (clear_alloc::clear_alloc): Likewise. * testsuite/23_containers/vector/bool/clear_allocator.cc (clear_alloc::clear_alloc): Likewise. * testsuite/23_containers/list/cons/clear_allocator.cc (clear_alloc::clear_alloc): Likewise. * testsuite/23_containers/set/modifiers/16728.cc (test_container): Likewise. * testsuite/27_io/basic_ios/cons/char/3.cc (char_traits::to_char_type, to_int_type): Likewise. * testsuite/27_io/basic_filebuf/imbue/12206.cc (codecvt::do_out, do_in, do_unshift, do_length): Likewise. * testsuite/21_strings/basic_string/capacity/1.cc (operator==(A<T>,A<T>), operator<(A<T>,A<T>), char_traits::to_char_type, char_traits::to_int_type): Likewise * testsuite/testsuite_character.h (ctype::do_is, ctype::do_scan_is, ctype::do_scan_not, do_toupper, do_tolower): Likewise. * testsuite/25_algorithms/replace_copy/check_type.cc (Z::operator=): Add missing return statement. * testsuite/25_algorithms/replace_copy_if/check_type.cc (Z::operator=): Likewise. * testsuite/testsuite_iterators.h (output_iterator_wrapper::operator=, random_access_iterator_wrapper::operator==): Likewise. * testsuite/20_util/functional/binders/1.cc (s::f_int_int_const, s::f_int_int, s::f_int_void_const, s::f_int_void): Likewise. * testsuite/27_io/types/1.cc (test01): Likewise. * testsuite/27_io/basic_ostream/write/wchar_t/1.cc (test01): Likewise. * testsuite/27_io/basic_ostream/write/char/1.cc (test01): Likewise. * testsuite/21_strings/c_strings/wchar_t/24559.cc (main): Likewise. * testsuite/27_io/basic_istream/ignore/wchar_t/2.cc (check): Add static cast. * testsuite/27_io/basic_istream/ignore/char/2.cc (check): Likewise. * testsuite/27_io/basic_istream/getline/wchar_t/5.cc (check): Likewise. * testsuite/27_io/basic_istream/getline/char/5.cc (check): Likewise. * testsuite/testsuite_allocator.h (check_new): Likewise. (check_deallocate_null): Add missing return value. * testsuite/ext/pool_allocator/allocate_chunk.cc (test01): Make variable unsigned. * testsuite/23_containers/vector/modifiers/erase/1.cc (N,N1,N2,N3,N4, N5,test01): Likewise. * testsuite/26_numerics/valarray/valarray_subset_assignment.cc (check_array): Likewise. (main): Removed unused variable. * testsuite/27_io/basic_streambuf/in_avail/wchar_t/1.cc (test05): Removed unused variable. * testsuite/27_io/basic_ostream/flush/wchar_t/1.cc (test01): Likewise. * testsuite/27_io/basic_ostream/flush/char/1.cc (test01): Likewise. * testsuite/27_io/basic_ostream/endl/wchar_t/1.cc (test01): Likewise. * testsuite/27_io/basic_ostream/endl/char/1.cc (test01): Likewise. * testsuite/27_io/basic_ostream/ends/wchar_t/1.cc (test01): Likewise. * testsuite/27_io/basic_ostream/ends/char/1.cc (test01): Likewise. * testsuite/tr1/2_general_utilities/memory/shared_ptr/ assign/shared_ptr.cc (test01): Correct return type. * testsuite/27_io/basic_filebuf/close/char/2.cc (test_02): Add default value to close_num. From-SVN: r109062 |
||
Benjamin Kosnik
|
3cbc7af037 |
c++config: Add in revised namespace associations.
2005-12-18 Benjamin Kosnik <bkoz@redhat.com> * include/bits/c++config: Add in revised namespace associations. _GLIBCXX_BEGIN_NAMESPACE: New macro. _GLIBCXX_END_NAMESPACE: Same. _GLIBCXX_BEGIN_NESTED_NAMESPACE: Same. _GLIBCXX_END_NESTED_NAMESPACE: Same. * acinclude.m4 (GLIBCXX_ENABLE_SYMVERS]): Add gnu-versioned-namespace. * configure: Regenerated. * config.h.in: Same. * config/abi/pre/gnu-versioned-namespace.ver: New. * config/abi/pre/gnu.ver (GLIBCXX_3.4.7): Add exports for nested debug mode items. * include/Makefile.am (${host_builddir}/c++config.h): Fill in values for __GLIBCXX__ and _GLIBCXX_NAMESPACE_ASSOCIATION_VERSION. * include/Makefile.in: Regnerate. * src/compatibility.cc: Alias new, nested definitions to exported symbols from non-nested __gnu_debug. * src/Makefile.am: Add in ENABLE_SYMVERS_GNU_NAMESPACE. * src/Makefile.in: Regenerate. * docs/html/debug_mode.html: Revise for nested design. * docs/html/debug.html: Use debug qualifications instead of __gnu_debug. * docs/html/configopts.html: Revise documentation for --enable-symvers. * include/debug/formatter: Simplify namespace qualifications for current, nested-only reality. Add top-level namespace alias, namespace debug, for debug-mode containers. * include/debug/safe_iterator.h: Same. * include/debug/set.h: Same. * include/debug/hash_multimap.h: Same. * include/debug/hash_set.h: Same. * include/debug/bitset * include/debug/safe_sequence.h: Same. * include/debug/multiset.h: Same. * include/debug/safe_base.h: Same. * include/debug/functions.h: Same. * include/debug/safe_iterator.tcc * include/debug/hash_multiset.h: Same. * include/debug/vector * include/debug/map.h: Same. * include/debug/deque * include/debug/hash_map.h: Same. * include/debug/string * include/debug/macros.h: Same. * include/debug/list * include/debug/debug.h: Same. * include/debug/multimap.h: Same. * src/debug.cc: Same. * testsuite/23_containers/vector/invalidation/1.cc: Cleanups. * testsuite/23_containers/vector/invalidation/2.cc: Same. * testsuite/23_containers/vector/invalidation/3.cc: Same. * testsuite/23_containers/vector/invalidation/4.cc: Same. * testsuite/23_containers/deque/invalidation/1.cc: Same. * testsuite/23_containers/deque/invalidation/2.cc: Same. * testsuite/23_containers/deque/invalidation/3.cc: Same. * testsuite/23_containers/deque/invalidation/4.cc: Same. * testsuite/23_containers/multiset/invalidation/1.cc: Same. * testsuite/23_containers/multiset/invalidation/2.cc: Same. * testsuite/23_containers/multimap/invalidation/1.cc: Same. * testsuite/23_containers/multimap/invalidation/2.cc: Same. * testsuite/23_containers/bitset/invalidation/1.cc: Same. * testsuite/23_containers/bitset/cons/16020.cc: Same. * testsuite/23_containers/bitset/operations/13838.cc: Same. * testsuite/23_containers/list/invalidation/1.cc: Same. * testsuite/23_containers/list/invalidation/2.cc: Same. * testsuite/23_containers/list/invalidation/3.cc: Same. * testsuite/23_containers/list/invalidation/4.cc: Same. * testsuite/23_containers/set/invalidation/1.cc: Same. * testsuite/23_containers/set/invalidation/2.cc: Same. * testsuite/23_containers/map/invalidation/1.cc: Same. * testsuite/23_containers/map/invalidation/2.cc: Same. * testsuite/23_containers/map/insert/16813.cc: Same. * include/bits/basic_ios.h: Use _GLIBCXX_BEGIN_NAMESPACE(std) and friends. * include/bits/stl_list.h: Same. * include/bits/stl_map.h: Same. * include/bits/stl_algobase.h: Same. * include/bits/localefwd.h: Same. * include/bits/valarray_array.tcc: Same. * include/bits/valarray_after.h: Same. * include/bits/gslice_array.h: Same. * include/bits/stl_queue.h: Same. * include/bits/gslice.h: Same. * include/bits/locale_facets.tcc: Same. * include/bits/locale_classes.h: Same. * include/bits/stl_set.h: Same. * include/bits/locale_facets.h: Same. * include/bits/stl_stack.h: Same. * include/bits/stl_iterator_base_types.h: Same. * include/bits/stl_heap.h: Same. * include/bits/indirect_array.h: Same. * include/bits/atomicity.h: Same. * include/bits/stream_iterator.h: Same. * include/bits/concurrence.h: Same. * include/bits/basic_string.h: Same. * include/bits/stl_multimap.h: Same. * include/bits/stl_pair.h: Same. * include/bits/basic_ios.tcc: Same. * include/bits/stl_raw_storage_iter.h: Same. * include/bits/stl_vector.h: Same. * include/bits/stl_numeric.h: Same. * include/bits/ios_base.h: Same. * include/bits/stl_deque.h: Same. * include/bits/istream.tcc: Same. * include/bits/postypes.h: Same. * include/bits/stl_multiset.h: Same. * include/bits/mask_array.h: Same. * include/bits/stl_uninitialized.h: Same. * include/bits/ostream.tcc: Same. * include/bits/slice_array.h: Same. * include/bits/boost_concept_check.h: Same. * include/bits/sstream.tcc: Same. * include/bits/stl_iterator_base_funcs.h: Same. * include/bits/char_traits.h: Same. * include/bits/stl_algo.h: Same. * include/bits/stringfwd.h: Same. * include/bits/c++config * include/bits/stl_iterator.h: Same. * include/bits/valarray_array.h: Same. * include/bits/stl_tempbuf.h: Same. * include/bits/vector.tcc: Same. * include/bits/deque.tcc: Same. * include/bits/stl_bvector.h: Same. * include/bits/basic_string.tcc: Same. * include/bits/list.tcc: Same. * include/bits/streambuf_iterator.h: Same. * include/bits/valarray_before.h: Same. * include/bits/stl_construct.h: Same. * include/bits/stl_function.h: Same. * include/bits/cpp_type_traits.h: Same. * include/bits/streambuf.tcc: Same. * include/bits/allocator.h: Same. * include/bits/stl_tree.h: Same. * include/bits/fstream.tcc: Same. * include/bits/stl_relops.h: Same. * include/bits/functexcept.h: Same. * include/std/std_valarray.h: Same. * include/std/std_iostream.h: Same. * include/std/std_streambuf.h: Same. * include/std/std_bitset.h: Same. * include/std/std_iosfwd.h: Same. * include/std/std_iomanip.h: Same. * include/std/std_fstream.h: Same. * include/std/std_limits.h: Same. * include/std/std_stdexcept.h: Same. * include/std/std_istream.h: Same. * include/std/std_complex.h: Same. * include/std/std_memory.h: Same. * include/std/std_ostream.h: Same. * include/std/std_sstream.h: Same. * include/c_std/std_csignal.h: Same. * include/c_std/std_cstdlib.h: Same. * include/c_std/std_cstdio.h: Same. * include/c_std/std_cstdarg.h: Same. * include/c_std/std_cctype.h: Same. * include/c_std/std_cmath.h: Same. * include/c_std/std_ctime.h: Same. * include/c_std/std_clocale.h: Same. * include/c_std/std_csetjmp.h: Same. * include/c_std/std_cwchar.h: Same. * include/c_std/std_cstring.h: Same. * include/c_std/std_cstddef.h: Same. * include/c_std/std_cwctype.h: Same. * include/backward/iterator.h: Same. * include/backward/set.h: Same. * include/backward/hashtable.h: Same. * include/backward/fstream.h: Same. * include/backward/tempbuf.h: Same. * include/backward/istream.h: Same. * include/backward/bvector.h: Same. * include/backward/stack.h: Same. * include/backward/rope.h: Same. * include/backward/complex.h: Same. * include/backward/ostream.h: Same. * include/backward/heap.h: Same. * include/backward/iostream.h: Same. * include/backward/function.h: Same. * include/backward/multimap.h: Same. * include/backward/pair.h: Same. * include/backward/stream.h: Same. * include/backward/iomanip.h: Same. * include/backward/strstream * include/backward/slist.h: Same. * include/backward/tree.h: Same. * include/backward/vector.h: Same. * include/backward/deque.h: Same. * include/backward/multiset.h: Same. * include/backward/list.h: Same. * include/backward/map.h: Same. * include/backward/algobase.h: Same. * include/backward/hash_map.h: Same. * include/backward/algo.h: Same. * include/backward/queue.h: Same. * include/backward/streambuf.h: Same. * src/allocator-inst.cc: Same. * src/complex_io.cc: Same. * src/localename.cc: Same. * src/limits.cc: Same. * src/ios_failure.cc: Same. * src/locale-misc-inst.cc: Same. * src/streambuf-inst.cc: Same. * src/misc-inst.cc: Same. * src/concept-inst.cc: Same. * src/ios_locale.cc: Same. * src/pool_allocator.cc: Same. * src/fstream-inst.cc: Same. * src/istream-inst.cc: Same. * src/string-inst.cc: Same. * src/locale_init.cc: Same. * src/ctype.cc: Same. * src/strstream.cc: Same. * src/ostream-inst.cc: Same. * src/functexcept.cc: Same. * src/streambuf.cc: Same. * src/sstream-inst.cc: Same. * src/ios.cc: Same. * src/valarray-inst.cc: Same. * src/locale.cc: Same. * src/tree.cc: Same. * src/stdexcept.cc: Same. * src/istream.cc: Same. * src/compatibility.cc: Same. * src/locale-inst.cc: Same. * src/globals_io.cc: Same. * src/list.cc: Same. * src/ios_init.cc: Same. * src/locale_facets.cc: Same. * src/codecvt.cc: Same. * include/tr1/unordered_map: Use _GLIBCXX_BEGIN_NAMESPACE(tr1). * include/tr1/boost_shared_ptr.h: Same. * include/tr1/tuple * include/tr1/hashtable * include/tr1/type_traits_fwd.h: Same. * include/tr1/unordered_set * include/tr1/functional * include/tr1/ref_fwd.h: Same. * include/tr1/utility * include/tr1/type_traits * include/tr1/array * include/ext/hashtable.h: Use _GLIBCXX_BEGIN_NAMESPACE(__gnu_cxx). * include/ext/typelist.h: Same. * include/ext/hash_map: Same. * include/ext/rc_string_base.h: Same. * include/ext/pool_allocator.h: Same. * include/ext/iterator: Same. * include/ext/rb_tree: Same. * include/ext/numeric: Same. * include/ext/vstring.tcc: Same. * include/ext/sso_string_base.h: Same. * include/ext/stdio_filebuf.h: Same. * include/ext/algorithm: Same. * include/ext/codecvt_specializations.h: Same. * include/ext/new_allocator.h: Same. * include/ext/array_allocator.h: Same. * include/ext/vstring_util.h: Same. * include/ext/vstring_fwd.h: Same. * include/ext/mt_allocator.h: Same. * include/ext/debug_allocator.h: Same. * include/ext/slist: Same. * include/ext/stdio_sync_filebuf.h: Same. * include/ext/hash_fun.h: Same. * include/ext/malloc_allocator.h: Same. * include/ext/functional: Same. * include/ext/bitmap_allocator.h: Same. * include/ext/pod_char_traits.h: Same. * include/ext/vstring.h: Same. * include/ext/ropeimpl.h: Same. * include/ext/hash_set: Same. * include/ext/memory: Same. * include/ext/rope: Same. * include/bits/boost_concept_check.h: Same. * include/bits/stl_iterator.h: Same. * include/bits/char_traits.h: Same. * include/bits/cpp_type_traits.h: Same. * include/bits/concurrence.h: Same. * include/bits/atomicity.h: Same. * config/locale/gnu/numeric_members.cc: Same. * config/locale/gnu/collate_members.cc: Same. * config/locale/gnu/ctype_members.cc: Same. * config/locale/gnu/c_locale.cc: Same. * config/locale/gnu/codecvt_members.cc: Same. * config/locale/gnu/messages_members.cc: Same. * config/locale/gnu/c_locale.h: Same. * config/locale/gnu/monetary_members.cc: Same. * config/locale/gnu/time_members.cc: Same. * config/locale/ieee_1003.1-2001/c_locale.h: Same. * config/locale/generic/numeric_members.cc: Same. * config/locale/generic/collate_members.cc: Same. * config/locale/generic/ctype_members.cc: Same. * config/locale/generic/c_locale.cc: Same. * config/locale/generic/codecvt_members.cc: Same. * config/locale/generic/messages_members.cc: Same. * config/locale/generic/c_locale.h: Same. * config/locale/generic/monetary_members.cc: Same. * config/locale/generic/time_members.cc: Same. * config/os/aix/atomicity.h: Same. * config/os/irix/atomicity.h: Same. * config/cpu/powerpc/atomicity.h: Same. * config/cpu/cris/atomicity.h: Same. * config/cpu/ia64/atomicity.h: Same. * config/cpu/alpha/atomicity.h: Same. * config/cpu/m68k/atomicity.h: Same. * config/cpu/hppa/atomicity.h: Same. * config/cpu/mips/atomicity.h: Same. * config/cpu/sparc/atomicity.h: Same. * config/cpu/i386/atomicity.h: Same. * config/cpu/i486/atomicity.h: Same. * config/cpu/sh/atomicity.h: Same. * config/cpu/generic/atomicity.h: Same. * config/cpu/s390/atomicity.h: Same. * config/io/c_io_stdio.h: Same. * config/io/basic_file_stdio.cc: Same. * config/io/basic_file_stdio.h: Same. * src/misc-inst.cc: Same. * src/concept-inst.cc: Same. * src/ext-inst.cc: Same. * src/string-inst.cc: Same. * src/pool_allocator.cc: Same. * src/bitmap_allocator.cc: Same. * src/mt_allocator.cc: Same. * libsupc++/exception: Same. * libsupc++/vterminate.cc: Same. * testsuite/ext/hash_map/1.cc: Explicitly qualify __gnu_cxx::hash_map. * testsuite/ext/hash_map/14648.cc: Same. * libsupc++/eh_alloc.cc: Correct comment line spacing. From-SVN: r108775 |
||
Kelley Cook
|
83f517994d |
All files: Update FSF address.
2005-08-17 Kelley Cook <kcook@gcc.gnu.org> * All files: Update FSF address. From-SVN: r103192 |
||
Paolo Carlini
|
d5f261c135 |
[multiple changes]
2005-06-17 Paolo Carlini <pcarlini@suse.de> Port from libstdcxx_so_7-branch: 2005-01-12 Christopher Jefferson <chris@bubblescope.net> * include/bits/stl_function.h (mem_fun_t, const_mem_fun_t, mem_fun_ref_t, const_mem_fun_ref_t, mem_fun1_t, const_mem_fun1_t, mem_fun1_ref_t, const_mem_fun1_ref_t): Remove overloads for void return type, just an old HP/SGI workaround. * testsuite/20_util/functional/binders.cc: Move to... * testsuite/20_util/functional/binders/3113.cc: ...here. * testsuite/20_util/functional/binders/1.cc: New. From-SVN: r101139 |
||
Paolo Carlini
|
b0ea9c011d |
binders.cc: Remove explicit instantiations for non-weak systems.
2005-03-16 Paolo Carlini <pcarlini@suse.de> * testsuite/20_util/functional/binders.cc: Remove explicit instantiations for non-weak systems. * testsuite/20_util/memory/allocator/1.cc: Likewise. * testsuite/20_util/memory/allocator/10378.cc: Likewise. * testsuite/20_util/memory/allocator/10416.cc: Likewise. * testsuite/20_util/memory/allocator/8230.cc: Likewise. * testsuite/20_util/utility/rel_ops.cc: Likewise. * testsuite/22_locale/ctype/is/char/2.cc: Likewise. * testsuite/22_locale/ctype/is/wchar_t/2.cc: Likewise. * testsuite/23_containers/deque/cons/1.cc: Likewise. * testsuite/23_containers/deque/cons/2.cc: Likewise. * testsuite/23_containers/deque/invalidation/1.cc: Likewise. * testsuite/23_containers/deque/invalidation/2.cc: Likewise. * testsuite/23_containers/deque/invalidation/3.cc: Likewise. * testsuite/23_containers/deque/invalidation/4.cc: Likewise. * testsuite/23_containers/deque/modifiers/swap.cc: Likewise. * testsuite/23_containers/deque/operators/1.cc: Likewise. * testsuite/23_containers/list/capacity/1.cc: Likewise. * testsuite/23_containers/list/cons/1.cc: Likewise. * testsuite/23_containers/list/cons/2.cc: Likewise. * testsuite/23_containers/list/cons/3.cc: Likewise. * testsuite/23_containers/list/cons/4.cc: Likewise. * testsuite/23_containers/list/cons/5.cc: Likewise. * testsuite/23_containers/list/cons/6.cc: Likewise. * testsuite/23_containers/list/cons/7.cc: Likewise. * testsuite/23_containers/list/cons/8.cc: Likewise. * testsuite/23_containers/list/cons/9.cc: Likewise. * testsuite/23_containers/list/invalidation/1.cc: Likewise. * testsuite/23_containers/list/invalidation/2.cc: Likewise. * testsuite/23_containers/list/invalidation/3.cc: Likewise. * testsuite/23_containers/list/invalidation/4.cc: Likewise. * testsuite/23_containers/list/modifiers/1.cc: Likewise. * testsuite/23_containers/list/modifiers/2.cc: Likewise. * testsuite/23_containers/list/modifiers/3.cc: Likewise. * testsuite/23_containers/list/operators/1.cc: Likewise. * testsuite/23_containers/list/operators/2.cc: Likewise. * testsuite/23_containers/list/operators/3.cc: Likewise. * testsuite/23_containers/list/operators/4.cc: Likewise. * testsuite/23_containers/map/insert/1.cc: Likewise. * testsuite/23_containers/map/invalidation/1.cc: Likewise. * testsuite/23_containers/map/invalidation/2.cc: Likewise. * testsuite/23_containers/map/modifiers/swap.cc: Likewise. * testsuite/23_containers/map/operators/1.cc: Likewise. * testsuite/23_containers/multimap/invalidation/1.cc: Likewise. * testsuite/23_containers/multimap/invalidation/2.cc: Likewise. * testsuite/23_containers/multimap/modifiers/swap.cc: Likewise. * testsuite/23_containers/multiset/insert/1.cc: Likewise. * testsuite/23_containers/multiset/insert/2.cc: Likewise. * testsuite/23_containers/multiset/invalidation/1.cc: Likewise. * testsuite/23_containers/multiset/invalidation/2.cc: Likewise. * testsuite/23_containers/multiset/modifiers/swap.cc: Likewise. * testsuite/23_containers/priority_queue/members/7161.cc: Likewise. * testsuite/23_containers/queue/members/7157.cc: Likewise. * testsuite/23_containers/set/insert/1.cc: Likewise. * testsuite/23_containers/set/invalidation/1.cc: Likewise. * testsuite/23_containers/set/invalidation/2.cc: Likewise. * testsuite/23_containers/set/modifiers/swap.cc: Likewise. * testsuite/23_containers/stack/members/7158.cc: Likewise. * testsuite/23_containers/vector/bool/6886.cc: Likewise. * testsuite/23_containers/vector/capacity/1.cc: Likewise. * testsuite/23_containers/vector/capacity/8230.cc: Likewise. * testsuite/23_containers/vector/cons/1.cc: Likewise. * testsuite/23_containers/vector/cons/2.cc: Likewise. * testsuite/23_containers/vector/cons/3.cc: Likewise. * testsuite/23_containers/vector/cons/6513.cc: Likewise. * testsuite/23_containers/vector/element_access/1.cc: Likewise. * testsuite/23_containers/vector/invalidation/1.cc: Likewise. * testsuite/23_containers/vector/invalidation/2.cc: Likewise. * testsuite/23_containers/vector/invalidation/3.cc: Likewise. * testsuite/23_containers/vector/invalidation/4.cc: Likewise. * testsuite/23_containers/vector/modifiers/1.cc: Likewise. * testsuite/23_containers/vector/modifiers/2.cc: Likewise. * testsuite/23_containers/vector/modifiers/swap.cc: Likewise. * testsuite/23_containers/vector/resize/1.cc: Likewise. * testsuite/24_iterators/back_insert_iterator.cc: Likewise. * testsuite/24_iterators/front_insert_iterator.cc: Likewise. * testsuite/24_iterators/insert_iterator.cc: Likewise. * testsuite/24_iterators/iterator.cc: Likewise. * testsuite/25_algorithms/copy/1.cc: Likewise. * testsuite/25_algorithms/copy/2.cc: Likewise. * testsuite/25_algorithms/copy/3.cc: Likewise. * testsuite/25_algorithms/copy/4.cc: Likewise. * testsuite/25_algorithms/equal.cc: Likewise. * testsuite/25_algorithms/fill/1.cc: Likewise. * testsuite/25_algorithms/fill/2.cc: Likewise. * testsuite/25_algorithms/min_max.cc: Likewise. * testsuite/25_algorithms/rotate.cc: Likewise. * testsuite/25_algorithms/unique/1.cc: Likewise. * testsuite/25_algorithms/unique/2.cc: Likewise. * testsuite/27_io/basic_filebuf/seekpos/wchar_t/9874.cc: Likewise. * testsuite/ext/concept_checks.cc: Likewise. * testsuite/ext/hash_map/1.cc: Likewise. * testsuite/ext/hash_set/1.cc: Likewise. * testsuite/ext/rope/1.cc: Likewise. * testsuite/ext/rope/2.cc: Likewise. * testsuite/ext/rope/3.cc: Likewise. * testsuite/thread/pthread1.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: r96551 |
||
Zack Weinberg
|
ea1ebe1266 |
Revert bad import
From-SVN: r94621 |
||
Nick Clifton
|
b919490c9c |
Imported from mainline FSF repositories
From-SVN: r94600 |
||
Benjamin Kosnik
|
0aa06b18fc |
doxygroups.cc: Add std::tr1 namespace.
2004-11-23 Benjamin Kosnik <bkoz@redhat.com> * docs/doxygen/doxygroups.cc: Add std::tr1 namespace. * docs/doxygen/run_doxygen: Renames for std::tr1. * docs/doxygen/user.cfg.in: Add cxxabi.h. * include/bits/*.tcc: Add file markup. * include/bits/allocator.h: Add link to allocator.html. * include/bits/atomicity.h: Add file markup. * include/bits/concurrence.h: Same. * include/bits/functexcept.h: Same. * include/ext*: Adjust file markup, remove GCC3 bits. * include/std/*: Adjust file markup, remove bits about renamed files. * libsupc++/cxxabi.h: Add file markup. * testsuite/20_util/memory/auto_ptr/assign_neg.cc: Adjust line numbers. From-SVN: r91135 |
||
Paolo Carlini
|
dafa8871d1 |
std_memory.h (__get_temporary_buffer): Don't use INT_MAX...
2004-10-09 Paolo Carlini <pcarlini@suse.de> * include/std/std_memory.h (__get_temporary_buffer): Don't use INT_MAX, prefer numeric_limits<ptrdiff_t>::max(), ok on 64-bit platforms too. * testsuite/20_util/memory/auto_ptr/assign_neg.cc: Adjust dg-error line numbers. From-SVN: r88814 |
||
Zack Weinberg
|
2cfe82fe43 |
decl.c (grokfndecl): If ::main is found not to return int, correct it after issuing a diagnostic.
gcc/cp: * decl.c (grokfndecl): If ::main is found not to return int, correct it after issuing a diagnostic. (grokdeclarator): If the incoming type was error_mark_node, do not complain about declaring something with no type. (start_function): Change check for ::main not returning int to an assertion, as grokfndecl now catches this when the user did it. * init.c (perform_member_init, sort_mem_initializers) (emit_mem_initializers): Make most diagnostics be issued on the line of current_function_decl, not whatever the current input line is. * parser.c (cp_lexer_peek_token_emit_debug_info): Surround definition and declaration with #ifdef ENABLE_CHECKING. Avoid unnecessary use of fprintf. (cp_lexer_print_token, cp_lexer_debug_stream): Adjust stub definitions to avoid warnings. (cp_lexer_new_main): Add assertion that first token is not a padding token. (cp_lexer_new_from_token_array): Fold into ... (cp_lexer_new_from_tokens): ... here. Add assertion that first token is not a padding token. (cp_lexer_set_source_position_from_token): Move nearer to callers. Remove unused lexer argument. (cp_lexer_peek_token): Just print debugging report (if enabled) and return lexer->next_token. (cp_lexer_skip_purged_tokens): Delete. (cp_lexer_next_token_is, cp_lexer_next_token_is_not): Make inline, simplify bodies. (cp_lexer_peek_nth_token): Add debugging report a la cp_lexer_peek_token. (cp_lexer_consume_token): Correct commentary. Advance over purged tokens here. Set current source position here, from token to be returned. Avoid unnecessary use of fprintf. (cp_lexer_purge_token): Advance next_token pointer over this and subsequent purged tokens. (cp_parser_error): Adjust source position to that of the peeked token. (cp_parser_push_lexer_for_tokens, cp_parser_pop_lexer): New functions. (cp_parser_string_literal): Remove some excessive cleverness. (cp_parser_enum_specifier): Call start_enum before consuming the opening brace. (cp_parser_member_declaration): Make the "extra semicolon" diagnostic consistently-worded with the other place this is diagnosed. Explicitly set the diagnostic location to the location of the offending semicolon. (cp_parser_enclosed_template_argument_list): Use %</%> quoting in diagnostics. Do not use cp_parser_require. Set location of diagnostics about improper use of '>>' to location of offending token. (cp_parser_late_parsing_for_member): Use cp_parser_push_lexer_for_tokens and cp_parser_pop_lexer. (cp_parser_late_parsing_default_args): Likewise. Manually move some logic outside the loop. gcc/testsuite: * g++.dg/ext/complit1.C * g++.dg/other/error2.C * g++.dg/other/nontype-1.C * g++.dg/parse/crash11.C * g++.dg/parse/crash12.C * g++.dg/parse/error15.C * g++.dg/parse/error4.C * g++.dg/parse/tmpl-outside1.C * g++.dg/parse/too-many-tmpl-args1.C * g++.dg/template/dependent-expr3.C * g++.dg/template/error10.C * g++.dg/template/instantiate1.C * g++.dg/template/vtable2.C * g++.dg/warn/Wshadow-1.C * g++.dg/warn/weak1.C * g++.old-deja/g++.brendan/crash16.C * g++.old-deja/g++.brendan/crash18.C * g++.old-deja/g++.brendan/crash48.C * g++.old-deja/g++.brendan/crash49.C * g++.old-deja/g++.brendan/crash55.C * g++.old-deja/g++.brendan/crash56.C * g++.old-deja/g++.brendan/crash8.C * g++.old-deja/g++.brendan/enum11.C * g++.old-deja/g++.brendan/enum8.C * g++.old-deja/g++.brendan/enum9.C * g++.old-deja/g++.brendan/friend3.C * g++.old-deja/g++.brendan/misc14.C * g++.old-deja/g++.bugs/900402_02.C * g++.old-deja/g++.bugs/900404_03.C * g++.old-deja/g++.bugs/900404_04.C * g++.old-deja/g++.bugs/900428_03.C * g++.old-deja/g++.jason/crash4.C * g++.old-deja/g++.jason/overload21.C * g++.old-deja/g++.jason/redecl1.C * g++.old-deja/g++.jason/report.C * g++.old-deja/g++.jason/rfg10.C * g++.old-deja/g++.jason/template30.C * g++.old-deja/g++.law/arm12.C * g++.old-deja/g++.law/ctors5.C * g++.old-deja/g++.law/cvt20.C * g++.old-deja/g++.law/init10.C * g++.old-deja/g++.law/init8.C * g++.old-deja/g++.law/visibility17.C * g++.old-deja/g++.law/visibility7.C * g++.old-deja/g++.mike/net8.C * g++.old-deja/g++.mike/p646.C * g++.old-deja/g++.mike/p700.C * g++.old-deja/g++.mike/p701.C * g++.old-deja/g++.mike/p811.C * g++.old-deja/g++.ns/template13.C * g++.old-deja/g++.other/array3.C * g++.old-deja/g++.other/crash25.C * g++.old-deja/g++.other/dtor3.C * g++.old-deja/g++.other/dtor4.C * g++.old-deja/g++.other/main1.C * g++.old-deja/g++.other/warn7.C * g++.old-deja/g++.pt/crash11.C * g++.old-deja/g++.pt/crash36.C * g++.old-deja/g++.pt/spec22.C * g++.old-deja/g++.pt/spec9.C * g++.old-deja/g++.pt/ttp52.C * g++.old-deja/g++.robertl/eb103.C * g++.old-deja/g++.robertl/eb121.C * g++.old-deja/g++.robertl/eb22.C * g++.old-deja/g++.robertl/eb8.C: Update locations and/or regexps of dg-error markers. Remove markers for some bogus messages that are no longer issued. libstdc++-v3: * testsuite/20_util/memory/auto_ptr/assign_neg.cc * testsuite/23_containers/map/operators/1_neg.cc * testsuite/23_containers/set/operators/1_neg.cc: Update locations and/or regexps of dg-error markers. From-SVN: r87985 |
||
Paolo Carlini
|
368b7a304e |
re PR libstdc++/16505 ([3.4 only] std::uninitialized_fill_n() incorrect signature)
2004-07-14 Paolo Carlini <pcarlini@suse.de> PR libstdc++/16505 * include/bits/stl_uninitialized.h (uninitialized_fill_n): Fix the signature to return void, as per 20.4.4.3. * include/bits/stl_vector.h (vector::vector(size_type, const value_type&, const allocator_type&), vector::vector(size_type), vector::_M_initialize_dispatch): Adjust callers. * include/bits/vector.tcc (vector<>::_M_fill_assign, vector<>::_M_fill_insert): Likewise. * testsuite/20_util/memory/16505.cc: New. From-SVN: r84720 |
||
Paolo Carlini
|
bdef965932 |
testsuite/20_util/allocator/, auto_ptr/, raw_storage_iterator.cc, temporary_buffer.cc: Move to...
2004-07-02 Paolo Carlini <pcarlini@suse.de> * testsuite/20_util/allocator/, auto_ptr/, raw_storage_iterator.cc, temporary_buffer.cc: Move to... * testsuite/20_util/memory/: ... here, new dir. * testsuite/20_util/pair/, testsuite/24_iterators/rel_ops.cc: Move to... * testsuite/20_util/utility/: ... here, new dir. * testsuite/20_util/binders.cc, comparisons.cc: Move to... * testsuite/20_util/functional/: ... here, new dir. From-SVN: r84028 |
||
Benjamin Kosnik
|
ce7df2fd97 |
14176.cc: New.
2004-03-12 Benjamin Kosnik <bkoz@redhat.com> * testsuite/20_util/allocator/14176.cc: New. * include/ext/mt_allocator.h: Formatting fixes. From-SVN: r79407 |
||
Benjamin Kosnik
|
f90e600a4e |
1.cc: Provide explicit instantiations for non-weak systems.
2004-03-04 Benjamin Kosnik <bkoz@redhat.com> * testsuite/20_util/allocator/1.cc: Provide explicit instantiations for non-weak systems. * testsuite/20_util/binders.cc: Same. * testsuite/20_util/allocator/8230.cc: Same. * testsuite/20_util/allocator/10378.cc: Same. * testsuite/22_locale/ctype/is/wchar_t/2.cc: Same. * testsuite/22_locale/ctype/is/char/2.cc: Same. * testsuite/thread/pthread7-rope.cc: Same. * testsuite/thread/pthread6.cc: Same. * testsuite/thread/pthread5.cc: Same. * testsuite/thread/pthread4.cc: Same. * testsuite/thread/pthread1.cc: Same. * testsuite/ext/rope.cc: Same. * testsuite/ext/hash_set.cc: Same. * testsuite/ext/hash_map.cc: Same. * testsuite/ext/concept_checks.cc: Same. * testsuite/27_io/basic_filebuf/seekpos/wchar_t/9874.cc: Same. * testsuite/25_algorithms/unique/2.cc: Same. * testsuite/25_algorithms/unique/1.cc: Same. * testsuite/25_algorithms/rotate.cc: Same. * testsuite/25_algorithms/min_max.cc: Same. * testsuite/25_algorithms/equal.cc: Same. * testsuite/24_iterators/rel_ops.cc: Same. * testsuite/24_iterators/iterator.cc: Same. * testsuite/24_iterators/insert_iterator.cc: Same. * testsuite/24_iterators/front_insert_iterator.cc: Same. * testsuite/24_iterators/back_insert_iterator.cc: Same. * testsuite/23_containers/vector/resize/1.cc: Same. * testsuite/23_containers/vector/modifiers/2.cc: Same. * testsuite/23_containers/vector/modifiers/1.cc: Same. * testsuite/23_containers/vector/invalidation/4.cc: Same. * testsuite/23_containers/vector/invalidation/3.cc: Same. * testsuite/23_containers/vector/invalidation/2.cc: Same. * testsuite/23_containers/vector/invalidation/1.cc: Same. * testsuite/23_containers/vector/element_access/1.cc: Same. * testsuite/23_containers/vector/cons/6513.cc: Same. * testsuite/23_containers/vector/cons/3.cc: Same. * testsuite/23_containers/vector/cons/2.cc: Same. * testsuite/23_containers/vector/cons/1.cc: Same. * testsuite/23_containers/vector/capacity/8230.cc: Same. * testsuite/23_containers/vector/capacity/1.cc: Same. * testsuite/23_containers/vector/bool/6886.cc: Same. * testsuite/23_containers/stack/members/7158.cc: Same. * testsuite/23_containers/set/invalidation/2.cc: Same. * testsuite/23_containers/set/invalidation/1.cc: Same. * testsuite/23_containers/queue/members/7157.cc: Same. * testsuite/23_containers/priority_queue/members/7161.cc: Same. * testsuite/23_containers/multiset/invalidation/2.cc: Same. * testsuite/23_containers/multiset/invalidation/2.cc: Same. * testsuite/23_containers/multiset/insert/1.cc: Same. * testsuite/23_containers/multimap/invalidation/2.cc: Same. * testsuite/23_containers/multimap/invalidation/2.cc: Same. * testsuite/23_containers/map/operators/1.cc: Same. * testsuite/23_containers/map/invalidation/2.cc: Same. * testsuite/23_containers/map/invalidation/1.cc: Same. * testsuite/23_containers/map/insert/1.cc: Same. * testsuite/23_containers/list/operators/4.cc: Same. * testsuite/23_containers/list/operators/3.cc: Same. * testsuite/23_containers/list/operators/2.cc: Same. * testsuite/23_containers/list/operators/1.cc: Same. * testsuite/23_containers/list/modifiers/3.cc: Same. * testsuite/23_containers/list/modifiers/2.cc: Same. * testsuite/23_containers/list/modifiers/1.cc: Same. * testsuite/23_containers/list/invalidation/4.cc: Same. * testsuite/23_containers/list/invalidation/3.cc: Same. * testsuite/23_containers/list/invalidation/2.cc: Same. * testsuite/23_containers/list/invalidation/1.cc: Same. * testsuite/23_containers/list/cons/9.cc: Same. * testsuite/23_containers/list/cons/8.cc: Same. * testsuite/23_containers/list/cons/7.cc: Same. * testsuite/23_containers/list/cons/6.cc: Same. * testsuite/23_containers/list/cons/5.cc: Same. * testsuite/23_containers/list/cons/4.cc: Same. * testsuite/23_containers/list/cons/3.cc: Same. * testsuite/23_containers/list/cons/2.cc: Same. * testsuite/23_containers/list/cons/1.cc: Same. * testsuite/23_containers/list/capacity/1.cc: Same. * testsuite/23_containers/deque/operators/1.cc: Same. * testsuite/23_containers/deque/invalidation/4.cc: Same. * testsuite/23_containers/deque/invalidation/3.cc: Same. * testsuite/23_containers/deque/invalidation/2.cc: Same. * testsuite/23_containers/deque/invalidation/1.cc: Same. * testsuite/23_containers/deque/cons/2.cc: Same. * testsuite/23_containers/deque/cons/1.cc: Same. * src/allocator.cc: Add char, wchar_t instantiations to match extern template declarations in memory.h. From-SVN: r78922 |
||
Stephen M. Webb
|
917a9fd4d5 |
c_locale.h: Change ::malloc() to new char[].
2004-01-29 Stephen M. Webb <stephen.webb@bregmasoft.com> * config/local/generic/c_locale.h: Change ::malloc() to new char[]. * config/local/gnu/c_locale.h: Change ::malloc() to new char[]. * include/bits/stl_tempbuf.h: Convert _Temporary_buffer to use std::get_temporary_buffer() instead of duplicating its code. Update to C++STYLE conventions. * include/std/std_memory.h (get_temporary_buffer): Use ::operator new() instead of std::malloc(). (return_temporary_buffer): Use ::operator delete() instead of std::free(). From-SVN: r76922 |
||
Benjamin Kosnik
|
ba9d552e03 |
Makefile.am (bits_headers): Remove allocator_traits.h.
2004-01-28 Benjamin Kosnik <bkoz@redhat.com> * include/Makefile.am (bits_headers): Remove allocator_traits.h. * include/Makefile.in: Regenerate. * include/bits/allocator_traits.h: Remove. * include/bits/allocator.h: Remove allocator_traits.h include, and relevant comments. (allocator): Empty base class, inherit from the underlying allocator. * src/allocator-inst.cc: Move __pool_alloc instantiation to... * src/allocator.cc: ...here. New. For the underlying allocators. Add __mt_alloc, __pool_alloc, new_allocator, malloc_allocator bits. * config/linker-map.gnu: Remove __pool_alloc bits. * src/Makefile.am (sources): Add allocator.cc. * src/Makefile.in: Regenerate. * testsuite/20_util/allocator/1.cc: Split second test into... * testsuite/20_util/allocator/8230.cc: ...this. * include/bits/stl_bvector.h (__gnu_norm): Change bit_vector typedef to use std::allocatore. Format. * include/ext/pool_allocator.h: Remove allocator_traits.h include, _Alloc_traits. * include/ext/mt_allocator.h (__gnu_cxx): Qualify __throw_bad_alloc calls. Don't include <memory>. * include/ext/malloc_allocator.h: Remove <memory> include. * include/ext/new_allocator.h (new_allocator): Same. * include/ext/ropeimpl.h (__gnu_cxx): Remove __alloc using declaration. Switch __alloc to _Alloc. * include/ext/hashtable.h: Remove __alloc. * include/backward/alloc.h: Only inject allocator, not implementation details. * include/ext/mt_allocator.h: Replace free with delete. From-SVN: r76821 |
||
Benjamin Kosnik
|
60af005f4b |
ifstream_extract_float.cc: New.
2004-01-13 Benjamin Kosnik <bkoz@redhat.com> * testsuite/performance/ifstream_extract_float.cc: New. * testsuite/performance/ofstream_insert_float.cc: Float generation matches above. * 20_util/auto_ptr.cc, auto_ptr_neg.cc: Break into... * 20_util/auto_ptr/1.cc: ...this. * 20_util/auto_ptr/2.cc: Same. * 20_util/auto_ptr/3.cc: Same. * 20_util/auto_ptr/3946.cc: Same. * 20_util/auto_ptr/4.cc: Same. * 20_util/auto_ptr/5.cc: Same. * 20_util/auto_ptr/6.cc: Same. * 20_util/auto_ptr/7.cc: Same. * 20_util/auto_ptr/assign_neg.cc * 20_util/pairs.cc: Break into... * 20_util/pair/1.cc: ...this. * 20_util/pair/2.cc: Same. * 20_util/pair/3.cc: Same. * 20_util/pair/4.cc: Same. From-SVN: r75811 |
||
Paolo Carlini
|
9dbaa9489f |
re PR libstdc++/10378 ([library DR 402] cannot add object with inplace new into STL collections)
2003-12-01 Paolo Carlini <pcarlini@suse.de> PR libstdc++/10378 * include/bits/allocator.h (allocator::construct): Implement resolution of DR 402 [Ready] (in Revision 28). * include/bits/allocator_traits.h (__allocator::construct): Likewise. * include/bits/stl_construct.h (_Construct): Likewise. * testsuite/20_util/allocator_members.cc: Move to... * testsuite/20_util/allocator/1.cc: ... here. * testsuite/20_util/allocator/10378.cc: New. * docs/html/ext/howto.html: Add an entry for DR 402. From-SVN: r74104 |
||
Benjamin Kosnik
|
285b36d6a5 |
[multiple changes]
2003-11-11 Doug Gregor <gregod@cs.rpi.edu> * docs/html/debug.html: Document libstdc++ debug mode. * docs/html/debug_mode.html: Document libstdc++ debug mode design. * docs/html/test.html: Document how to test under debug mode. * docs/html/17_intro/howto.html: Document debug-mode macros. * include/Makefile.am: Install debug-mode headers. * src/Makefile.am: Include debug.cc. * include/bits/basic_string.tcc: (basic_string::_S_construct): Fix NULL pointer check. (__is_null_pointer): New. Add precondition annotations. * include/bits/stream_iterator.h (istream_iterator, ostream_iterator): Added precondition annotations. * include/bits/streambuf_iterator.h (istreambuf_iterator): Ditto. * include/bits/stl_queue.h (queue, priority_queue): Ditto. * include/bits/stl_stack.h (stack): Ditto. * include/bits/basic_string.h (basic_string): Ditto. * include/bits/basic_string.tcc (basic_string): Ditto. * include/std/std_memory.h (auto_ptr): Ditto. * include/std/std_valarray.h (valarray): Ditto. * include/bits/stl_algo.h: Added algorithm precondition annotations. * include/bits/stl_algobase.h: Added algorithm precondition annotations. * include/bits/stl_numeric.h: Ditto. * include/ext/algorithm: Added algorithm precondition annotations. (__is_heap): Moved away from here. * include/bits/stl_heap.h: Added algorithm precondition annotations. (__is_heap): Moved to the top of this file. (__is_heap): Added iterator range overloads. * testsuite/20_util/auto_ptr_neg.cc: Fix line numbers to match up with changes in std_memory.h. * testsuite/23_containers/list/operators/4.cc: Don't verify performance guarantees when in debug mode. * testsuite/23_containers/bitset/invalidation/1.cc: New. * testsuite/23_containers/deque/invalidation/1.cc: New. * testsuite/23_containers/deque/invalidation/2.cc: New. * testsuite/23_containers/deque/invalidation/3.cc: New. * testsuite/23_containers/deque/invalidation/4.cc: New. * testsuite/23_containers/list/invalidation/1.cc: New. * testsuite/23_containers/list/invalidation/2.cc: New. * testsuite/23_containers/list/invalidation/3.cc: New. * testsuite/23_containers/list/invalidation/4.cc: New. * testsuite/23_containers/map/invalidation/1.cc: New. * testsuite/23_containers/map/invalidation/2.cc: New. * testsuite/23_containers/multimap/invalidation/1.cc: New. * testsuite/23_containers/multimap/invalidation/2.cc: New. * testsuite/23_containers/multiset/invalidation/1.cc: New. * testsuite/23_containers/multiset/invalidation/2.cc: New. * testsuite/23_containers/set/invalidation/1.cc: New. * testsuite/23_containers/set/invalidation/2.cc: New. * testsuite/23_containers/vector/invalidation/1.cc: New. * testsuite/23_containers/vector/invalidation/2.cc: New. * testsuite/23_containers/vector/invalidation/3.cc: New. * testsuite/23_containers/vector/invalidation/4.cc: New. * testsuite/25_algorithms/heap.cc: Don't verify performance guarantees when in debug mode. * include/debug/bitset: New. * include/debug/debug.h: New. * include/debug/deque: New. * include/debug/formatter.h: New. * include/debug/hash_map: New. * include/debug/hash_map.h: New. * include/debug/hash_multimap.h: New. * include/debug/hash_set: New. * include/debug/hash_set.h: New. * include/debug/hash_multiset.h: New. * include/debug/list: New. * include/debug/map: New. * include/debug/map.h: New. * include/debug/multimap.h: New. * include/debug/multiset.h: New. * include/debug/safe_base.h: New. * include/debug/safe_iterator.h: New. * include/debug/safe_iterator.tcc: New. * include/debug/safe_sequence.h: New. * include/debug/set: New. * include/debug/set.h: New. * include/debug/string: New. * include/debug/vector: New. * src/debug.cc: New. * config/linker-map.gnu: Add debug mode symbols. 2003-11-11 Benjamin Kosnik <bkoz@redhat.com> * src/string-inst.cc: Tweak namespaces. * src/misc-inst.cc: Same. * docs/html/debug.html: Edits. * config/link-map.gnu: Remove cruft. * include/bits/c++config: Add in namespace associations. * include/std/std_bitset.h: Adjust namespace to __gnu_norm, comment tweaks. * include/bits/deque.tcc: Same. * include/bits/list.tcc: Same. * include/bits/stl_bvector.h: Same. * include/bits/stl_deque.h: Same. * include/bits/stl_list.h: Same. * include/bits/stl_map.h: Same. * include/bits/stl_multimap.h: Same. * include/bits/stl_multiset.h: Same. * include/bits/stl_set.h: Same. * include/bits/stl_vector.h: Same. * include/bits/vector.tcc: Same. * include/std/std_algorithm.h: Remove markup comments. * include/std/std_functional.h: Same. * include/std/std_iterator.h: Same. * include/std/std_numeric.h: Same. * include/std/std_utility.h: Same. * include/bits/stl_queue.h: Formatting tweaks. * include/bits/stl_stack.h: Same. * include/std/std_deque.h: Include debugging version in debug mode. * include/std/std_list.h: Same. * include/std/std_map.h: Same. * include/std/std_set.h: Same. * include/std/std_vector.h: Same. * include/std/std_queue.h: Use deque, vector. * include/std/std_stack.h: Same. From-SVN: r73459 |
||
Benjamin Kosnik
|
11f10e6b1f |
locale_facets.tcc: Tweak to avoid warnings.
2003-09-23 Benjamin Kosnik <bkoz@redhat.com> * include/bits/locale_facets.tcc: Tweak to avoid warnings. * testsuite/testsuite_hooks.h: Same. * testsuite/*/*.cc: Same. From-SVN: r71693 |
||
Doug Gregor
|
8dbe14becf |
Testsuite corrections
From-SVN: r68288 |
||
Benjamin Kosnik
|
979c310f5e |
copy_neg.cc: Remove excess errors dg marker, use dg-errors instead.
2003-05-13 Benjamin Kosnik <bkoz@redhat.com> * testsuite/27_io/ios_base/cons/copy_neg.cc: Remove excess errors dg marker, use dg-errors instead. * testsuite/27_io/ios_base/cons/assign_neg.cc: Same. * testsuite/20_util/auto_ptr_neg.cc: Same. From-SVN: r66797 |
||
Benjamin Kosnik
|
af5fb6ab3b |
re PR libstdc++/8230 (Buggy allocator behaviour)
2002-11-15 Benjamin Kosnik <bkoz@redhat.com> Gabriel Dos Reis <gdr@integrable-solutions.net> PR libstdc++/8230 * include/bits/stl_alloc.h: Use builtin_expect for the most obvious limit checks. (__default_alloc_template::allocate): Check for null, throw bad_alloc. * include/bits/vector.tcc: Formatting tweaks. * include/bits/stl_vector.h: Same. * testsuite/20_util/allocator_members.cc (test02): Add. * testsuite/23_containers/vector_capacity.cc (test03): Add. Co-Authored-By: Gabriel Dos Reis <gdr@integrable-solutions.net> From-SVN: r59169 |
||
Benjamin Kosnik
|
5acf59f8e1 |
std_memory.h: Fix formatting.
2002-07-03 Benjamin Kosnik <bkoz@redhat.com> * include/std/std_memory.h: Fix formatting. * testsuite/20_util/auto_ptr_neg.cc: New. * testsuite/20_util/auto_ptr.cc: Tweaks. * testsuite/23_containers/map_operators.cc (test01): Split into.. * testsuite/23_containers/map_operators_neg.cc (test01): ...this. New. * testsuite/23_containers/set_operators.cc: Move to... * testsuite/23_containers/set_operators_neg.cc: ...here. * testsuite/README: Add some more naming rules. From-SVN: r55241 |
||
Jack Reeves
|
16ad69a19d |
re PR libstdc++/3946 (auto_ptr_ref constructor allows dangerous conversion)
2002-07-03 Jack Reeves <jackw_reeves@hotmail.com> Kenny Simpson <theonetruekenny@yahoo.com> Phil Edwards <pme@gcc.gnu.org> PR libstdc++/3946 * testsuite/20_util/auto_ptr.cc (test08): New test. * include/std/std_memory.h (auto_ref_ptr): Make constructor explicit. (auto_ptr::operator auto_ptr_ref): Fix typo. General reformatting and doxygenating of the whole file. Co-Authored-By: Kenny Simpson <theonetruekenny@yahoo.com> Co-Authored-By: Phil Edwards <pme@gcc.gnu.org> From-SVN: r55223 |
||
Phil Edwards
|
6b20f9b59a |
stl_tempbuf.h (_Temporary_buffer): Add doxygen hook.
2002-01-24 Phil Edwards <pme@gcc.gnu.org> * include/bits/stl_tempbuf.h (_Temporary_buffer): Add doxygen hook. * include/bits/stl_algo.h: Include stl_tempbuf.h. * include/ext/memory: Do not include stl_tempbuf.h. (temporary_buffer): Add doxygen hook. (__get_temporary_buffer, get_temporary_buffer, return_temporary_buffer): Move back to std:: header... * include/std/std_memory.h: ...here. Do not include stl_tempbuf.h. * include/ext/rope: Do not include stl_tempbuf.h. * include/ext/stl_hashtable.h: Likewise. * include/std/std_algorithm.h: Likewise. * testsuite/20_util/temporary_buffer.cc: New file. From-SVN: r49199 |
||
Phil Edwards
|
fe413112f8 |
acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): New macro, calls...
2001-08-06 Phil Edwards <pme@sources.redhat.com> * acinclude.m4 (GLIBCPP_CONFIGURE_TESTSUITE): New macro, calls... (GLIBCPP_CHECK_SETRLIMIT): ...this new macro, which also uses... (GLIBCPP_CHECK_SETRLIMIT_ancilliary): ...this new macro. * configure.in (AM_CONFIG_HEADER): Also generate testsuite_hooks.h. Call GLIBCPP_CONFIGURE_TESTSUITE. * aclocal.m4: Regenerate. * config.h.in: Regenerate. * configure: Regenerate. * testsuite/lib/libstdc++-v3-dg.exp: Download new header instead of old header. * testsuite_flags.in: Add build dir's testsuite to INCLUDES. * testsuite/debug_assert.h: Removed; contents merged into... * testsuite/testsuite_hooks.h.in: ...here. New file. * testsuite/17_intro/header_ciso646.cc: No longer include debug_assert.h, include testsuite_hooks.h instead. * testsuite/17_intro/header_fstream.cc: Likewise. * testsuite/17_intro/header_iomanip.cc: Likewise. * testsuite/17_intro/header_ios.cc: Likewise. * testsuite/17_intro/header_iosfwd.cc: Likewise. * testsuite/17_intro/header_iostream.cc: Likewise. * testsuite/17_intro/header_istream.cc: Likewise. * testsuite/17_intro/header_ostream.cc: Likewise. * testsuite/17_intro/header_sstream.cc: Likewise. * testsuite/17_intro/header_streambuf.cc: Likewise. * testsuite/18_support/numeric_limits.cc: Likewise. * testsuite/19_diagnostics/stdexceptions.cc: Likewise. * testsuite/20_util/allocator_members.cc: Likewise. * testsuite/20_util/auto_ptr.cc: Likewise. * testsuite/20_util/pairs.cc: Likewise. * testsuite/21_strings/append.cc: Likewise. * testsuite/21_strings/capacity.cc: Likewise. * testsuite/21_strings/char_traits_requirements.cc: Likewise. * testsuite/21_strings/compare.cc: Likewise. * testsuite/21_strings/ctor_copy_dtor.cc: Likewise. Also set up call to (disabled) __set_testsuite_memlimit() wrapper. * testsuite/21_strings/element_access.cc: Likewise. * testsuite/21_strings/find.cc: Likewise. * testsuite/21_strings/insert.cc: Likewise. Also set up call to (disabled) __set_testsuite_memlimit() wrapper. * testsuite/21_strings/inserters_extractors.cc: Likewise. * testsuite/21_strings/invariants.cc: Likewise. * testsuite/21_strings/nonmember.cc: Likewise. * testsuite/21_strings/operations.cc: Likewise. * testsuite/21_strings/replace.cc: Likewise. * testsuite/21_strings/rfind.cc: Likewise. * testsuite/21_strings/substr.cc: Likewise. * testsuite/22_locale/codecvt_char_char.cc: Likewise. * testsuite/22_locale/codecvt_unicode_char.cc: Likewise. * testsuite/22_locale/codecvt_unicode_wchar_t.cc: Likewise. * testsuite/22_locale/codecvt_wchar_t_char.cc: Likewise. * testsuite/22_locale/ctor_copy_dtor.cc: Likewise. * testsuite/22_locale/ctype_char_members.cc: Likewise. * testsuite/22_locale/ctype_wchar_t_members.cc: Likewise. * testsuite/22_locale/facet.cc: Likewise. * testsuite/22_locale/global_templates.cc: Likewise. * testsuite/22_locale/members.cc: Likewise. * testsuite/22_locale/numpunct_byname.cc: Likewise. * testsuite/22_locale/numpunct_char_members.cc: Likewise. * testsuite/22_locale/operators.cc: Likewise. * testsuite/22_locale/static_members.cc: Likewise. * testsuite/23_containers/bitset_ctor.cc: Likewise. * testsuite/23_containers/bitset_members.cc: Likewise. * testsuite/23_containers/bitset_shift.cc: Likewise. * testsuite/23_containers/vector_capacity.cc: Likewise. * testsuite/23_containers/vector_ctor.cc: Likewise. * testsuite/23_containers/vector_element_access.cc: Likewise. * testsuite/23_containers/vector_modifiers.cc: Likewise. * testsuite/24_iterators/istreambuf_iterator.cc: Likewise. * testsuite/24_iterators/iterator.cc: Likewise. * testsuite/24_iterators/ostreambuf_iterator.cc: Likewise. * testsuite/25_algorithms/binary_search.cc: Likewise. * testsuite/25_algorithms/copy.cc: Likewise. * testsuite/25_algorithms/heap.cc: Likewise. * testsuite/25_algorithms/lower_bound.cc: Likewise. * testsuite/25_algorithms/min_max.cc: Likewise. * testsuite/25_algorithms/partition.cc: Likewise. * testsuite/25_algorithms/rotate.cc: Likewise. * testsuite/25_algorithms/sort.cc: Likewise. * testsuite/26_numerics/c_math.cc: Likewise. * testsuite/26_numerics/complex_inserters_extractors.cc: Likewise. * testsuite/26_numerics/complex_value.cc: Likewise. * testsuite/27_io/filebuf.cc: Likewise. * testsuite/27_io/filebuf_members.cc: Likewise. * testsuite/27_io/filebuf_virtuals.cc: Likewise. * testsuite/27_io/fpos.cc: Likewise. * testsuite/27_io/fstream_members.cc: Likewise. * testsuite/27_io/ifstream_members.cc: Likewise. * testsuite/27_io/ios_base_callbacks.cc: Likewise. * testsuite/27_io/ios_base_members_static.cc: Likewise. * testsuite/27_io/ios_base_storage.cc: Likewise. * testsuite/27_io/ios_ctor.cc: Likewise. * testsuite/27_io/ios_init.cc: Likewise. * testsuite/27_io/ios_manip_basefield.cc: Likewise. * testsuite/27_io/ios_manip_fmtflags.cc: Likewise. * testsuite/27_io/ios_members.cc: Likewise. * testsuite/27_io/istream_extractor_arith.cc: Likewise. * testsuite/27_io/istream_extractor_char.cc: Likewise. * testsuite/27_io/istream_extractor_other.cc: Likewise. * testsuite/27_io/istream_manip.cc: Likewise. * testsuite/27_io/istream_seeks.cc: Likewise. * testsuite/27_io/istream_sentry.cc: Likewise. * testsuite/27_io/istream_unformatted.cc: Likewise. * testsuite/27_io/istringstream_members.cc: Likewise. * testsuite/27_io/narrow_stream_objects.cc: Likewise. * testsuite/27_io/ofstream_members.cc: Likewise. * testsuite/27_io/ostream_inserter_arith.cc: Likewise. * testsuite/27_io/ostream_inserter_char.cc: Likewise. * testsuite/27_io/ostream_inserter_other.cc: Likewise. * testsuite/27_io/ostream_manip.cc: Likewise. * testsuite/27_io/ostream_seeks.cc: Likewise. * testsuite/27_io/ostream_unformatted.cc: Likewise. * testsuite/27_io/ostringstream_members.cc: Likewise. * testsuite/27_io/streambuf.cc: Likewise. * testsuite/27_io/stringbuf.cc: Likewise. * testsuite/27_io/stringbuf_virtuals.cc: Likewise. * testsuite/27_io/stringstream.cc: Likewise. * testsuite/27_io/stringstream_members.cc: Likewise. * testsuite/27_io/wide_stream_objects.cc: Likewise. From-SVN: r44679 |
||
Benjamin Kosnik
|
c766fc5f1c |
stl_iterator.h (reverse_iterator): Inherit from iterator.
2001-06-22 Benjamin Kosnik <bkoz@redhat.com> * include/bits/stl_iterator.h (reverse_iterator): Inherit from iterator. (back_insert_iterator): Same. (front_insert_iterator): Same. (insert_iterator): Same. * testsuite/20_util/raw_storage_iterator.cc: Modify. * testsuite/24_iterators/reverse_iterator.cc: New file. * testsuite/24_iterators/back_insert_iterator.cc: New file. * testsuite/24_iterators/front_insert_iterator.cc: New file. * testsuite/24_iterators/insert_iterator.cc: New file. From-SVN: r43524 |
||
Benjamin Kosnik
|
3768cee7ca |
stl_raw_storage_iter.h: Format.
2001-06-18 Benjamin Kosnik <bkoz@redhat.com> * include/bits/stl_raw_storage_iter.h: Format. Correct derivation. * testsuite/20_util/raw_storage_iterator.cc: Same. * include/bits/stl_alloc.h (_S_chunk_alloc): Change malloc to operator new. (__mem_interface): New typedef for switching between malloc and new. * testsuite/20_util/allocator_members.cc: New file. * testsuite/20_util/comparisons.cc: New file. * testsuite/20_util/pairs.cc: New file. From-SVN: r43451 |
||
Benjamin Kosnik
|
d52a984783 |
ostream.tcc (ostream::seekp): Add error checking as per DR 129.
2001-06-11 Benjamin Kosnik <bkoz@redhat.com> libstdc++/3114 * include/bits/ostream.tcc (ostream::seekp): Add error checking as per DR 129. * include/bits/istream.tcc (istream::seekg): Same. * testsuite/27_io/istream_seeks.cc: Fix. libstdc++/3113 * include/bits/stl_function.h (binder2nd): Fix as per DR 109. (binder1st): Same. * include/bits/std_queue.h: Add c++config.h. * testsuite/20_util/binders.cc: New test. From-SVN: r43201 |
||
Jason Merrill
|
913ac9fa8e |
auto_ptr.cc (test07): Remove test that tries to copy-initialize an auto_ptr<Base> from an...
* testsuite/20_util/auto_ptr.cc (test07): Remove test that tries to copy-initialize an auto_ptr<Base> from an auto_ptr<Derived>; it isn't supposed to work anymore. From-SVN: r38171 |
||
Brent Verner
|
aa1b2f7d95 |
debug_assert.h: new file
2000-08-14 Brent Verner <brent@rcfile.org> * testsuite/debug_assert.h: new file * testsuite/*/*.cc: s/test\s*&=([^;]+);/VERIFY($1);/g changed conditional #include <c?assert.?h?> to unconditional #include <debug_assert.h> * mkcheck.in: added $SRC_DIR/testsuite to include search path for testsuite compile command. From-SVN: r35682 |
||
Branko Cibej
|
3ef9fe6118 |
20_utilities: New directory.
2000-06-19 Branko Cibej <branko.cibej@hermes.si> * testsuite/20_utilities: New directory. * testsuite/20_utilities/auto_ptr.cc: New file. From-SVN: r34599 |