Remove Profile Mode, deprecated since GCC 7.1
authorJonathan Wakely <jwakely@redhat.com>
Mon, 13 May 2019 10:50:21 +0000 (11:50 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Mon, 13 May 2019 10:50:21 +0000 (11:50 +0100)
commit544be2beb1fa53dfdd6988418ad3b365c289536d
treec835ee9f02ea205cc796f42a7dbf889fe28560c8
parent0d09ca2550da86793e9bcc2820524fc4d6486e74
Remove Profile Mode, deprecated since GCC 7.1

The Profile Mode extension is not used by anybody, nor maintained by
anybody. The containers do not support the full API specified in recent
standards, and so enabling Profile Mode is not source compatible with
much modern C++ code. The heuristics that would check the profile
information and make useful suggestions never materialized, so it isn't
useful.

It should be removed.

Remove Profile Mode, deprecated since 7.1.0
* doc/Makefile.am: Remove XML file for profile mode docs.
* doc/Makefile.in: Regenerate.
* doc/xml/authors.xml: Remove authors of profile mode docs.
* doc/xml/manual/appendix_contributing.xml: Remove mention of profile
mode.
* doc/xml/manual/debug.xml: Likewise.
* doc/xml/manual/evolution.xml: Document removal of profile mode.
* doc/xml/manual/profile_mode.xml: Remove profile mode docs.
* doc/xml/manual/spine.xml: Remove profile mode author credit.
* doc/xml/manual/test.xml: Remove docs for dg-require-profile-mode
directive.
* doc/xml/manual/using.xml: Remove docs for profile mode headers and
macro.
* doc/html/*: Regenerate.
* include/Makefile.am: Remove profile mode headers.
* include/Makefile.in: Regenerate.
* include/bits/c++config (std::__profile): Remove namespace.
[_GLIBCXX_PROFILE]: Remove checks for macro.
* include/profile/array: Remove.
* include/profile/base.h: Remove.
* include/profile/bitset: Remove.
* include/profile/deque: Remove.
* include/profile/forward_list: Remove.
* include/profile/impl/profiler.h: Remove.
* include/profile/impl/profiler_algos.h: Remove.
* include/profile/impl/profiler_container_size.h: Remove.
* include/profile/impl/profiler_hash_func.h: Remove.
* include/profile/impl/profiler_hashtable_size.h: Remove.
* include/profile/impl/profiler_list_to_slist.h: Remove.
* include/profile/impl/profiler_list_to_vector.h: Remove.
* include/profile/impl/profiler_map_to_unordered_map.h: Remove.
* include/profile/impl/profiler_node.h: Remove.
* include/profile/impl/profiler_state.h: Remove.
* include/profile/impl/profiler_trace.h: Remove.
* include/profile/impl/profiler_vector_size.h: Remove.
* include/profile/impl/profiler_vector_to_list.h: Remove.
* include/profile/iterator_tracker.h: Remove.
* include/profile/list: Remove.
* include/profile/map: Remove.
* include/profile/map.h: Remove.
* include/profile/multimap.h: Remove.
* include/profile/multiset.h: Remove.
* include/profile/ordered_base.h: Remove.
* include/profile/set: Remove.
* include/profile/set.h: Remove.
* include/profile/unordered_base.h: Remove.
* include/profile/unordered_map: Remove.
* include/profile/unordered_set: Remove.
* include/profile/vector: Remove.
* scripts/run_doxygen: Do not process profile mode headers.
* testsuite/23_containers/array/element_access/60497.cc: Don't use
profile mode type.
* testsuite/23_containers/array/specialized_algorithms/swap_cxx17.cc:
Remove dg-skip-if for profile mode.
* testsuite/23_containers/forward_list/capacity/1.cc: Remove
preprocessor check for profile mode.
* testsuite/23_containers/list/capacity/29134.cc: Likewise.
* testsuite/23_containers/map/modifiers/extract.cc: Remove dg-skip-if
for profile mode.
* testsuite/23_containers/map/modifiers/insert_or_assign/1.cc:
Likewise.
* testsuite/23_containers/map/modifiers/try_emplace/1.cc: Likewise.
* testsuite/23_containers/multimap/modifiers/extract.cc: Likewise.
* testsuite/23_containers/multiset/modifiers/extract.cc: Likewise.
* testsuite/23_containers/set/modifiers/extract.cc: Likewise.
* testsuite/23_containers/unordered_map/modifiers/extract.cc:
Likewise.
* testsuite/23_containers/unordered_multimap/modifiers/extract.cc:
Likewise.
* testsuite/23_containers/unordered_multiset/modifiers/extract.cc:
Likewise.
* testsuite/23_containers/unordered_set/modifiers/extract.cc:
Likewise.
* testsuite/23_containers/vector/bool/capacity/29134.cc: Remove
preprocessor check for profile mode.
* testsuite/23_containers/vector/bool/modifiers/insert/31370.cc:
Likewise.
* testsuite/23_containers/vector/modifiers/insert_vs_emplace.cc:
Remove dg-skip-if for profile mode.
* testsuite/25_algorithms/binary_search/partitioned.cc: Likewise.
* testsuite/25_algorithms/equal_range/partitioned.cc: Likewise.
* testsuite/25_algorithms/lexicographical_compare/71545.cc: Likewise.
* testsuite/25_algorithms/lower_bound/partitioned.cc: Likewise.
* testsuite/25_algorithms/upper_bound/partitioned.cc: Likewise.
* testsuite/Makefile.am: Remove profile_flags variable and
* testsuite/Makefile.am: Remove profile_flags variable and
check-profile target.
* testsuite/Makefile.in: Regenerate.
* testsuite/ext/profile/all.cc: Remove.
* testsuite/ext/profile/mutex_extensions_neg.cc: Remove.
* testsuite/ext/profile/profiler_algos.cc: Remove.
* testsuite/ext/profile/replace_new.cc: Remove.
* testsuite/ext/throw_allocator/deallocate_global.cc: Remove
preprocessor check for profile mode.
* testsuite/ext/throw_allocator/deallocate_local.cc: Likewise.
* testsuite/lib/libstdc++.exp (check_v3_target_profile_mode): Remove.
(check_v3_target_normal_mode): Do not check for profile mode macro.
* testsuite/libstdc++-prettyprinters/80276.cc: Remove dg-skip-if for
profile mode.
* testsuite/libstdc++-prettyprinters/compat.cc: Likewise.
* testsuite/libstdc++-prettyprinters/cxx11.cc: Likewise.
* testsuite/libstdc++-prettyprinters/cxx17.cc: Likewise.
* testsuite/libstdc++-prettyprinters/debug.cc: Likewise.
* testsuite/libstdc++-prettyprinters/debug_cxx11.cc: Likewise.
* testsuite/libstdc++-prettyprinters/libfundts.cc: Likewise.
* testsuite/libstdc++-prettyprinters/simple.cc: Likewise.
* testsuite/libstdc++-prettyprinters/simple11.cc: Likewise.
* testsuite/libstdc++-prettyprinters/whatis.cc: Likewise.
* testsuite/libstdc++-prettyprinters/whatis2.cc: Likewise.

From-SVN: r271120
130 files changed:
libstdc++-v3/ChangeLog
libstdc++-v3/doc/Makefile.am
libstdc++-v3/doc/Makefile.in
libstdc++-v3/doc/html/index.html
libstdc++-v3/doc/html/manual/api.html
libstdc++-v3/doc/html/manual/appendix.html
libstdc++-v3/doc/html/manual/appendix_porting.html
libstdc++-v3/doc/html/manual/bitmap_allocator.html
libstdc++-v3/doc/html/manual/bitmap_allocator_impl.html
libstdc++-v3/doc/html/manual/bugs.html
libstdc++-v3/doc/html/manual/debug.html
libstdc++-v3/doc/html/manual/ext_algorithms.html
libstdc++-v3/doc/html/manual/ext_concurrency.html
libstdc++-v3/doc/html/manual/ext_concurrency_impl.html
libstdc++-v3/doc/html/manual/ext_concurrency_use.html
libstdc++-v3/doc/html/manual/ext_containers.html
libstdc++-v3/doc/html/manual/ext_demangling.html
libstdc++-v3/doc/html/manual/ext_io.html
libstdc++-v3/doc/html/manual/ext_iterators.html
libstdc++-v3/doc/html/manual/ext_numerics.html
libstdc++-v3/doc/html/manual/ext_sgi.html
libstdc++-v3/doc/html/manual/ext_utilities.html
libstdc++-v3/doc/html/manual/extensions.html
libstdc++-v3/doc/html/manual/index.html
libstdc++-v3/doc/html/manual/intro.html
libstdc++-v3/doc/html/manual/io_and_c.html
libstdc++-v3/doc/html/manual/memory.html
libstdc++-v3/doc/html/manual/mt_allocator.html
libstdc++-v3/doc/html/manual/mt_allocator_design.html
libstdc++-v3/doc/html/manual/mt_allocator_ex_multi.html
libstdc++-v3/doc/html/manual/mt_allocator_ex_single.html
libstdc++-v3/doc/html/manual/mt_allocator_impl.html
libstdc++-v3/doc/html/manual/parallel_mode_test.html
libstdc++-v3/doc/html/manual/policy_based_data_structures_test.html
libstdc++-v3/doc/html/manual/policy_data_structures.html
libstdc++-v3/doc/html/manual/policy_data_structures_ack.html
libstdc++-v3/doc/html/manual/policy_data_structures_design.html
libstdc++-v3/doc/html/manual/policy_data_structures_using.html
libstdc++-v3/doc/html/manual/source_organization.html
libstdc++-v3/doc/html/manual/status.html
libstdc++-v3/doc/html/manual/test.html
libstdc++-v3/doc/html/manual/using.html
libstdc++-v3/doc/html/manual/using_headers.html
libstdc++-v3/doc/html/manual/using_macros.html
libstdc++-v3/doc/xml/authors.xml
libstdc++-v3/doc/xml/manual/appendix_contributing.xml
libstdc++-v3/doc/xml/manual/debug.xml
libstdc++-v3/doc/xml/manual/evolution.xml
libstdc++-v3/doc/xml/manual/extensions.xml
libstdc++-v3/doc/xml/manual/profile_mode.xml [deleted file]
libstdc++-v3/doc/xml/manual/spine.xml
libstdc++-v3/doc/xml/manual/test.xml
libstdc++-v3/doc/xml/manual/using.xml
libstdc++-v3/include/Makefile.am
libstdc++-v3/include/Makefile.in
libstdc++-v3/include/bits/c++config
libstdc++-v3/include/profile/array [deleted file]
libstdc++-v3/include/profile/base.h [deleted file]
libstdc++-v3/include/profile/bitset [deleted file]
libstdc++-v3/include/profile/deque [deleted file]
libstdc++-v3/include/profile/forward_list [deleted file]
libstdc++-v3/include/profile/impl/profiler.h [deleted file]
libstdc++-v3/include/profile/impl/profiler_algos.h [deleted file]
libstdc++-v3/include/profile/impl/profiler_container_size.h [deleted file]
libstdc++-v3/include/profile/impl/profiler_hash_func.h [deleted file]
libstdc++-v3/include/profile/impl/profiler_hashtable_size.h [deleted file]
libstdc++-v3/include/profile/impl/profiler_list_to_slist.h [deleted file]
libstdc++-v3/include/profile/impl/profiler_list_to_vector.h [deleted file]
libstdc++-v3/include/profile/impl/profiler_map_to_unordered_map.h [deleted file]
libstdc++-v3/include/profile/impl/profiler_node.h [deleted file]
libstdc++-v3/include/profile/impl/profiler_state.h [deleted file]
libstdc++-v3/include/profile/impl/profiler_trace.h [deleted file]
libstdc++-v3/include/profile/impl/profiler_vector_size.h [deleted file]
libstdc++-v3/include/profile/impl/profiler_vector_to_list.h [deleted file]
libstdc++-v3/include/profile/iterator_tracker.h [deleted file]
libstdc++-v3/include/profile/list [deleted file]
libstdc++-v3/include/profile/map [deleted file]
libstdc++-v3/include/profile/map.h [deleted file]
libstdc++-v3/include/profile/multimap.h [deleted file]
libstdc++-v3/include/profile/multiset.h [deleted file]
libstdc++-v3/include/profile/ordered_base.h [deleted file]
libstdc++-v3/include/profile/set [deleted file]
libstdc++-v3/include/profile/set.h [deleted file]
libstdc++-v3/include/profile/unordered_base.h [deleted file]
libstdc++-v3/include/profile/unordered_map [deleted file]
libstdc++-v3/include/profile/unordered_set [deleted file]
libstdc++-v3/include/profile/vector [deleted file]
libstdc++-v3/scripts/run_doxygen
libstdc++-v3/testsuite/23_containers/array/element_access/60497.cc
libstdc++-v3/testsuite/23_containers/array/specialized_algorithms/swap_cxx17.cc
libstdc++-v3/testsuite/23_containers/forward_list/capacity/1.cc
libstdc++-v3/testsuite/23_containers/list/capacity/29134.cc
libstdc++-v3/testsuite/23_containers/map/modifiers/extract.cc
libstdc++-v3/testsuite/23_containers/map/modifiers/insert_or_assign/1.cc
libstdc++-v3/testsuite/23_containers/map/modifiers/try_emplace/1.cc
libstdc++-v3/testsuite/23_containers/multimap/modifiers/extract.cc
libstdc++-v3/testsuite/23_containers/multiset/modifiers/extract.cc
libstdc++-v3/testsuite/23_containers/set/modifiers/extract.cc
libstdc++-v3/testsuite/23_containers/unordered_map/modifiers/extract.cc
libstdc++-v3/testsuite/23_containers/unordered_multimap/modifiers/extract.cc
libstdc++-v3/testsuite/23_containers/unordered_multiset/modifiers/extract.cc
libstdc++-v3/testsuite/23_containers/unordered_set/modifiers/extract.cc
libstdc++-v3/testsuite/23_containers/vector/bool/capacity/29134.cc
libstdc++-v3/testsuite/23_containers/vector/bool/modifiers/insert/31370.cc
libstdc++-v3/testsuite/23_containers/vector/modifiers/insert_vs_emplace.cc
libstdc++-v3/testsuite/25_algorithms/binary_search/partitioned.cc
libstdc++-v3/testsuite/25_algorithms/equal_range/partitioned.cc
libstdc++-v3/testsuite/25_algorithms/lexicographical_compare/71545.cc
libstdc++-v3/testsuite/25_algorithms/lower_bound/partitioned.cc
libstdc++-v3/testsuite/25_algorithms/upper_bound/partitioned.cc
libstdc++-v3/testsuite/Makefile.am
libstdc++-v3/testsuite/Makefile.in
libstdc++-v3/testsuite/ext/profile/all.cc [deleted file]
libstdc++-v3/testsuite/ext/profile/mutex_extensions_neg.cc [deleted file]
libstdc++-v3/testsuite/ext/profile/profiler_algos.cc [deleted file]
libstdc++-v3/testsuite/ext/profile/replace_new.cc [deleted file]
libstdc++-v3/testsuite/ext/throw_allocator/deallocate_global.cc
libstdc++-v3/testsuite/ext/throw_allocator/deallocate_local.cc
libstdc++-v3/testsuite/lib/libstdc++.exp
libstdc++-v3/testsuite/libstdc++-prettyprinters/80276.cc
libstdc++-v3/testsuite/libstdc++-prettyprinters/compat.cc
libstdc++-v3/testsuite/libstdc++-prettyprinters/cxx11.cc
libstdc++-v3/testsuite/libstdc++-prettyprinters/cxx17.cc
libstdc++-v3/testsuite/libstdc++-prettyprinters/debug.cc
libstdc++-v3/testsuite/libstdc++-prettyprinters/debug_cxx11.cc
libstdc++-v3/testsuite/libstdc++-prettyprinters/libfundts.cc
libstdc++-v3/testsuite/libstdc++-prettyprinters/simple.cc
libstdc++-v3/testsuite/libstdc++-prettyprinters/simple11.cc
libstdc++-v3/testsuite/libstdc++-prettyprinters/whatis.cc
libstdc++-v3/testsuite/libstdc++-prettyprinters/whatis2.cc