Remove Profile Mode, deprecated since GCC 7.1

Programming / Compilers / GCC - redi [138bc75d-0d04-0410-961f-82ee72b054a4] - 13 May 2019 10:50 EDT

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.

b6cabd6514c Remove Profile Mode, deprecated since GCC 7.1
libstdc++-v3/ChangeLog | 111 ++
libstdc++-v3/doc/Makefile.am | 1 -
libstdc++-v3/doc/Makefile.in | 1 -
libstdc++-v3/doc/html/index.html | 8 +-
libstdc++-v3/doc/html/manual/api.html | 4 +-
libstdc++-v3/doc/html/manual/appendix.html | 2 +-
libstdc++-v3/doc/html/manual/appendix_porting.html | 2 +-
libstdc++-v3/doc/html/manual/bitmap_allocator.html | 4 +-
.../doc/html/manual/bitmap_allocator_impl.html | 6 +-
libstdc++-v3/doc/html/manual/bugs.html | 22 +-
libstdc++-v3/doc/html/manual/debug.html | 5 +-
libstdc++-v3/doc/html/manual/ext_algorithms.html | 6 +-
libstdc++-v3/doc/html/manual/ext_concurrency.html | 6 +-
.../doc/html/manual/ext_concurrency_impl.html | 4 +-
.../doc/html/manual/ext_concurrency_use.html | 2 +-
libstdc++-v3/doc/html/manual/ext_containers.html | 4 +-
libstdc++-v3/doc/html/manual/ext_demangling.html | 6 +-
libstdc++-v3/doc/html/manual/ext_io.html | 6 +-
libstdc++-v3/doc/html/manual/ext_iterators.html | 6 +-
libstdc++-v3/doc/html/manual/ext_numerics.html | 6 +-
libstdc++-v3/doc/html/manual/ext_sgi.html | 4 +-
libstdc++-v3/doc/html/manual/ext_utilities.html | 6 +-
libstdc++-v3/doc/html/manual/extensions.html | 4 +-
libstdc++-v3/doc/html/manual/index.html | 26 +-
libstdc++-v3/doc/html/manual/intro.html | 2 +-
libstdc++-v3/doc/html/manual/io_and_c.html | 2 +-
libstdc++-v3/doc/html/manual/memory.html | 17 +-
libstdc++-v3/doc/html/manual/mt_allocator.html | 6 +-
.../doc/html/manual/mt_allocator_design.html | 4 +-
.../doc/html/manual/mt_allocator_ex_multi.html | 4 +-
.../doc/html/manual/mt_allocator_ex_single.html | 2 +-
.../doc/html/manual/mt_allocator_impl.html | 2 +-
.../doc/html/manual/parallel_mode_test.html | 4 +-
.../manual/policy_based_data_structures_test.html | 2 +-
.../doc/html/manual/policy_data_structures.html | 16 +-
.../html/manual/policy_data_structures_ack.html | 4 +-
.../html/manual/policy_data_structures_design.html | 70 +-
.../html/manual/policy_data_structures_using.html | 6 +-
.../doc/html/manual/source_organization.html | 4 +-
libstdc++-v3/doc/html/manual/status.html | 6 +-
libstdc++-v3/doc/html/manual/test.html | 5 +-
libstdc++-v3/doc/html/manual/using.html | 2 +-
libstdc++-v3/doc/html/manual/using_headers.html | 2 +-
libstdc++-v3/doc/html/manual/using_macros.html | 3 -
libstdc++-v3/doc/xml/authors.xml | 6 -
.../doc/xml/manual/appendix_contributing.xml | 4 +-
libstdc++-v3/doc/xml/manual/debug.xml | 8 -
libstdc++-v3/doc/xml/manual/evolution.xml | 8 +-
libstdc++-v3/doc/xml/manual/extensions.xml | 6 -
libstdc++-v3/doc/xml/manual/profile_mode.xml | 1718 --------------------
libstdc++-v3/doc/xml/manual/spine.xml | 6 -
libstdc++-v3/doc/xml/manual/test.xml | 8 +-
libstdc++-v3/doc/xml/manual/using.xml | 38 -
libstdc++-v3/include/Makefile.am | 57 +-
libstdc++-v3/include/Makefile.in | 59 +-
libstdc++-v3/include/bits/c++config | 19 +-
libstdc++-v3/include/profile/array | 281 ----
libstdc++-v3/include/profile/base.h | 58 -
libstdc++-v3/include/profile/bitset | 245 ---
libstdc++-v3/include/profile/deque | 188 ---
libstdc++-v3/include/profile/forward_list | 219 ---
libstdc++-v3/include/profile/impl/profiler.h | 370 -----
libstdc++-v3/include/profile/impl/profiler_algos.h | 111 --
.../include/profile/impl/profiler_container_size.h | 186 ---
.../include/profile/impl/profiler_hash_func.h | 153 --
.../include/profile/impl/profiler_hashtable_size.h | 100 --
.../include/profile/impl/profiler_list_to_slist.h | 168 --
.../include/profile/impl/profiler_list_to_vector.h | 261 ---
.../profile/impl/profiler_map_to_unordered_map.h | 275 ----
libstdc++-v3/include/profile/impl/profiler_node.h | 155 --
libstdc++-v3/include/profile/impl/profiler_state.h | 69 -
libstdc++-v3/include/profile/impl/profiler_trace.h | 663 --------
.../include/profile/impl/profiler_vector_size.h | 100 --
.../include/profile/impl/profiler_vector_to_list.h | 261 ---
libstdc++-v3/include/profile/iterator_tracker.h | 286 ----
libstdc++-v3/include/profile/list | 650 --------
libstdc++-v3/include/profile/map | 35 -
libstdc++-v3/include/profile/map.h | 705 --------
libstdc++-v3/include/profile/multimap.h | 663 --------
libstdc++-v3/include/profile/multiset.h | 647 --------
libstdc++-v3/include/profile/ordered_base.h | 100 --
libstdc++-v3/include/profile/set | 35 -
libstdc++-v3/include/profile/set.h | 628 -------
libstdc++-v3/include/profile/unordered_base.h | 308 ----
libstdc++-v3/include/profile/unordered_map | 586 -------
libstdc++-v3/include/profile/unordered_set | 561 -------
libstdc++-v3/include/profile/vector | 572 -------
libstdc++-v3/scripts/run_doxygen | 8 -
.../23_containers/array/element_access/60497.cc | 4 -
.../array/specialized_algorithms/swap_cxx17.cc | 1 -
.../23_containers/forward_list/capacity/1.cc | 2 +-
.../testsuite/23_containers/list/capacity/29134.cc | 6 +-
.../23_containers/map/modifiers/extract.cc | 1 -
.../map/modifiers/insert_or_assign/1.cc | 1 -
.../23_containers/map/modifiers/try_emplace/1.cc | 1 -
.../23_containers/multimap/modifiers/extract.cc | 1 -
.../23_containers/multiset/modifiers/extract.cc | 1 -
.../23_containers/set/modifiers/extract.cc | 1 -
.../unordered_map/modifiers/extract.cc | 1 -
.../unordered_multimap/modifiers/extract.cc | 1 -
.../unordered_multiset/modifiers/extract.cc | 1 -
.../unordered_set/modifiers/extract.cc | 1 -
.../23_containers/vector/bool/capacity/29134.cc | 2 -
.../vector/bool/modifiers/insert/31370.cc | 2 -
.../vector/modifiers/insert_vs_emplace.cc | 1 -
.../25_algorithms/binary_search/partitioned.cc | 1 -
.../25_algorithms/equal_range/partitioned.cc | 1 -
.../25_algorithms/lexicographical_compare/71545.cc | 1 -
.../25_algorithms/lower_bound/partitioned.cc | 1 -
.../25_algorithms/upper_bound/partitioned.cc | 1 -
libstdc++-v3/testsuite/Makefile.am | 16 +-
libstdc++-v3/testsuite/Makefile.in | 16 +-
libstdc++-v3/testsuite/ext/profile/all.cc | 52 -
.../testsuite/ext/profile/mutex_extensions_neg.cc | 33 -
.../testsuite/ext/profile/profiler_algos.cc | 147 --
libstdc++-v3/testsuite/ext/profile/replace_new.cc | 54 -
.../ext/throw_allocator/deallocate_global.cc | 2 -
.../ext/throw_allocator/deallocate_local.cc | 2 -
libstdc++-v3/testsuite/lib/libstdc++.exp | 28 +-
.../testsuite/libstdc++-prettyprinters/80276.cc | 1 -
.../testsuite/libstdc++-prettyprinters/compat.cc | 1 -
.../testsuite/libstdc++-prettyprinters/cxx11.cc | 1 -
.../testsuite/libstdc++-prettyprinters/cxx17.cc | 1 -
.../testsuite/libstdc++-prettyprinters/debug.cc | 1 -
.../libstdc++-prettyprinters/debug_cxx11.cc | 1 -
.../libstdc++-prettyprinters/libfundts.cc | 1 -
.../testsuite/libstdc++-prettyprinters/simple.cc | 1 -
.../testsuite/libstdc++-prettyprinters/simple11.cc | 1 -
.../testsuite/libstdc++-prettyprinters/whatis.cc | 1 -
.../testsuite/libstdc++-prettyprinters/whatis2.cc | 1 -
130 files changed, 282 insertions(+), 12111 deletions(-)

Upstream: gcc.gnu.org


  • Share