gcc/libstdc++-v3/testsuite/util
Jonathan Wakely a54ce8865a libstdc++: Print assertion messages to stderr [PR59675]
This replaces the printf used by failed debug assertions with fprintf,
so we can write to stderr.

To avoid including <stdio.h> the assert function is moved into the
library. To avoid programs using a vague linkage definition of the old
inline function, the function is renamed. Code compiled with old
versions of GCC might still call the old function, but code compiled
with the newer GCC will call the new function and write to stderr.

libstdc++-v3/ChangeLog:

	PR libstdc++/59675
	* acinclude.m4 (libtool_VERSION): Bump version.
	* config/abi/pre/gnu.ver (GLIBCXX_3.4.30): Add version and
	export new symbol.
	* configure: Regenerate.
	* include/bits/c++config (__replacement_assert): Remove, declare
	__glibcxx_assert_fail instead.
	* src/c++11/debug.cc (__glibcxx_assert_fail): New function to
	replace __replacement_assert, writing to stderr instead of
	stdout.
	* testsuite/util/testsuite_abi.cc: Update latest version.
2021-11-12 12:23:10 +00:00
..
atomic Update copyright years. 2021-01-04 10:26:59 +01:00
common_type Update copyright years. 2021-01-04 10:26:59 +01:00
debug Update copyright years. 2021-01-04 10:26:59 +01:00
exception libstdc++: Fix and complete __gnu_debug::basic_string implementation 2021-03-25 21:56:14 +01:00
hash_fn Update copyright years. 2021-01-04 10:26:59 +01:00
io Update copyright years. 2021-01-04 10:26:59 +01:00
native_type Update copyright years. 2021-01-04 10:26:59 +01:00
performance Update copyright years. 2021-01-04 10:26:59 +01:00
pstl libstdc++: Fix some problems in PSTL tests 2021-05-12 14:51:15 +01:00
regression Update copyright years. 2021-01-04 10:26:59 +01:00
statistic Update copyright years. 2021-01-04 10:26:59 +01:00
thread Update copyright years. 2021-01-04 10:26:59 +01:00
replacement_memory_operators.h libstdc++: Limit allocation on iterator insertion in Hashtable [PR 96088] 2021-05-24 21:51:06 +02:00
slow_clock.h Update copyright years. 2021-01-04 10:26:59 +01:00
specfun_testcase.h Update copyright years. 2021-01-04 10:26:59 +01:00
testsuite_abi_check.cc Update copyright years. 2021-01-04 10:26:59 +01:00
testsuite_abi.cc libstdc++: Print assertion messages to stderr [PR59675] 2021-11-12 12:23:10 +00:00
testsuite_abi.h libstdc++: [_GLIBCXX_DEBUG] Implement unordered container merge 2021-11-09 21:50:17 +01:00
testsuite_allocator.cc Update copyright years. 2021-01-04 10:26:59 +01:00
testsuite_allocator.h libstdc++: Fix last std::tuple constructor missing 'constexpr' [PR102270] 2021-09-17 20:43:34 +01:00
testsuite_api.h Update copyright years. 2021-01-04 10:26:59 +01:00
testsuite_character.cc Update copyright years. 2021-01-04 10:26:59 +01:00
testsuite_character.h Update copyright years. 2021-01-04 10:26:59 +01:00
testsuite_common_types.h libstdc++: Replace uses of _GLIBCXX_USE_INT128 in testsuite 2021-10-09 00:57:48 +01:00
testsuite_container_traits.h libstdc++: Fix and complete __gnu_debug::basic_string implementation 2021-03-25 21:56:14 +01:00
testsuite_containergen.h libstdc++: Allow seeding random engines in testsuite 2021-03-25 18:21:19 +00:00
testsuite_containers.h Update copyright years. 2021-01-04 10:26:59 +01:00
testsuite_counter_type.h Update copyright years. 2021-01-04 10:26:59 +01:00
testsuite_error.h Update copyright years. 2021-01-04 10:26:59 +01:00
testsuite_fs.h libstdc++: Make permissions_are_testable function inline [PR90787] 2021-08-23 14:44:48 +01:00
testsuite_greedy_ops.h Update copyright years. 2021-01-04 10:26:59 +01:00
testsuite_hooks.cc Update copyright years. 2021-01-04 10:26:59 +01:00
testsuite_hooks.h Update copyright years. 2021-01-04 10:26:59 +01:00
testsuite_io.h Update copyright years. 2021-01-04 10:26:59 +01:00
testsuite_iterators.h libstdc++: Use std::addressof in ranges::uninitialized_xxx [PR101571] 2021-07-22 14:37:24 +01:00
testsuite_new_operators.h Update copyright years. 2021-01-04 10:26:59 +01:00
testsuite_performance.h Update copyright years. 2021-01-04 10:26:59 +01:00
testsuite_random.h libstdc++: Add PRNG fallback to std::random_device 2021-03-26 19:12:12 +00:00
testsuite_regex.h Update copyright years. 2021-01-04 10:26:59 +01:00
testsuite_rng.h Update copyright years. 2021-01-04 10:26:59 +01:00
testsuite_rvalref.h Update copyright years. 2021-01-04 10:26:59 +01:00
testsuite_shared.cc Update copyright years. 2021-01-04 10:26:59 +01:00
testsuite_tr1.h Update copyright years. 2021-01-04 10:26:59 +01:00