gcc/libstdc++-v3/include
Jonathan Wakely d47c4f0f1d libstdc++: Mark non-exported function always_inline [PR105671]
This new function was added for gcc 11.1 but is not exported from the
shared library. Depending on inlining decisions, its callers might get
inlined but an external definition be needed for this function. That
then fails to link.

Since we can't add the export to the gcc-11 release branch now, mark it
always_inline. We can consider exporting it for gcc-13 if/when we bump
the shared library version (and maybe also for gcc-12 which is currently
at the same version as trunk). For now, the attribute will solve the
problem on all affected branches. The function is small enough that
force-inlining it shouldn't cause problems.

libstdc++-v3/ChangeLog:

	PR libstdc++/105671
	* include/std/sstream (basic_stringbuf::_M_high_mark): Add
	always_inline attribute.

(cherry picked from commit de57440858)
2022-06-08 10:52:17 +01:00
..
backward libstdc++: Add attribute to features deprecated in C++17 [PR91260] 2022-01-14 11:27:50 +00:00
bits libstdc++: Only include <ext/atomicity.h> for COW string 2022-06-08 10:52:16 +01:00
c Update copyright years. 2022-01-03 10:42:10 +01:00
c_compatibility libstdc++: Fix missing and incorrect feature test macros [PR105269] 2022-04-14 11:02:37 +01:00
c_global libstdc++: Ensure all feature test macros have type long [PR87193] 2022-01-21 16:07:34 +00:00
c_std libstdc++: Declare std::c8rtomb and std::mbrtoc8 if provided by the C library 2022-01-18 16:31:02 +00:00
debug Update copyright years. 2022-01-03 10:42:10 +01:00
decimal Update copyright years. 2022-01-03 10:42:10 +01:00
experimental libstdc++: ppc: conditionalize vsx-only simd intrinsics 2022-05-13 03:05:45 -03:00
ext libstdc++: Fix narrowing conversions for 16-bit size_t [PR105681] 2022-06-08 10:52:16 +01:00
parallel Update copyright years. 2022-01-03 10:42:10 +01:00
precompiled libstdc++: Add new headers to <bits/stdc++.h> PCH 2022-04-14 11:02:43 +01:00
pstl libstdc++: Reduce header dependencies from PSTL headers [PR92546] 2022-03-18 10:16:36 +00:00
std libstdc++: Mark non-exported function always_inline [PR105671] 2022-06-08 10:52:17 +01:00
tr1 libstdc++: Add attribute to features deprecated in C++17 [PR91260] 2022-01-14 11:27:50 +00:00
tr2 Update copyright years. 2022-01-03 10:42:10 +01:00
Makefile.am libstdc++: Define std::expected for C++23 (P0323R12) 2022-03-27 18:50:31 +01:00
Makefile.in libstdc++: Define std::expected for C++23 (P0323R12) 2022-03-27 18:50:31 +01:00