gcc/libstdc++-v3/testsuite
Jonathan Wakely d574c8aafe libstdc++: Define memory resource key functions non-inline (PR93208)
This prevents the vtables and RTTI from being emitted in every object
file that uses memory_resource and monotonic_buffer_resource.

Objects compiled by GCC 9.1 or 9.2 will contain inline definitions of
the destructors, vtable and RTTI, but this is harmless. The inline
definitions have identical effects to the ones that are now defined in
libstdc++.so so it doesn't matter if the inline ones are used instead of
calling the symbols exported from the runtime library.

	PR libstdc++/93208
	* config/abi/pre/gnu.ver: Add new exports.
	* include/std/memory_resource (memory_resource::~memory_resource()):
	Do not define inline.
	(monotonic_buffer_resource::~monotonic_buffer_resource()): Likewise.
	* src/c++17/memory_resource.cc (memory_resource::~memory_resource()):
	Define.
	(monotonic_buffer_resource::~monotonic_buffer_resource()): Define.
	* testsuite/20_util/monotonic_buffer_resource/93208.cc: New test.

From-SVN: r280044
2020-01-09 13:18:20 +00:00
..
17_intro Update copyright years. 2020-01-01 12:51:42 +01:00
18_support Update copyright years. 2020-01-01 12:51:42 +01:00
19_diagnostics Update copyright years. 2020-01-01 12:51:42 +01:00
20_util libstdc++: Define memory resource key functions non-inline (PR93208) 2020-01-09 13:18:20 +00:00
21_strings Update copyright years. 2020-01-01 12:51:42 +01:00
22_locale Update copyright years. 2020-01-01 12:51:42 +01:00
23_containers PR libstdc++/92124 fix incorrect unordered container move assignment 2020-01-09 05:40:08 +00:00
24_iterators Update copyright years. 2020-01-01 12:51:42 +01:00
25_algorithms Update copyright years. 2020-01-01 12:51:42 +01:00
26_numerics Update copyright years. 2020-01-01 12:51:42 +01:00
27_io libstdc++: Fix error handling in filesystem::remove_all (PR93201) 2020-01-08 16:44:45 +00:00
28_regex Update copyright years. 2020-01-01 12:51:42 +01:00
29_atomics Update copyright years. 2020-01-01 12:51:42 +01:00
30_threads Rename condition_variable_any wait* methods to match current draft standard 2020-01-08 03:00:40 +00:00
abi Update copyright years. 2020-01-01 12:51:42 +01:00
backward Update copyright years. 2020-01-01 12:51:42 +01:00
config Update copyright years. 2020-01-01 12:51:42 +01:00
data
decimal Update copyright years. 2020-01-01 12:51:42 +01:00
experimental libstdc++: Fix error handling in filesystem::remove_all (PR93201) 2020-01-08 16:44:45 +00:00
ext Update copyright years. 2020-01-01 12:51:42 +01:00
lib Update copyright years. 2020-01-01 12:51:42 +01:00
libstdc++-abi Update copyright years. 2020-01-01 12:51:42 +01:00
libstdc++-dg Update copyright years. 2020-01-01 12:51:42 +01:00
libstdc++-prettyprinters Update copyright years. 2020-01-01 12:51:42 +01:00
libstdc++-xmethods Update copyright years. 2020-01-01 12:51:42 +01:00
performance Update copyright years. 2020-01-01 12:51:42 +01:00
special_functions Update copyright years. 2020-01-01 12:51:42 +01:00
std Update copyright years. 2020-01-01 12:51:42 +01:00
tr1 Update copyright years. 2020-01-01 12:51:42 +01:00
tr2 Update copyright years. 2020-01-01 12:51:42 +01:00
util Update copyright years. 2020-01-01 12:51:42 +01:00
Makefile.am Update copyright years. 2020-01-01 12:51:42 +01:00
Makefile.in Remove Profile Mode, deprecated since GCC 7.1 2019-05-13 11:50:21 +01:00