From: Jonathan Wakely Date: Thu, 16 Jan 2025 11:40:06 +0000 (+0000) Subject: libstdc++: Add comment about use of always_inline attributes [PR111050] X-Git-Tag: basepoints/gcc-16~2131 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=89f007c2a623c2fd57bf1085435d8a71a9b21029;p=thirdparty%2Fgcc.git libstdc++: Add comment about use of always_inline attributes [PR111050] Add a comment referencing PR 111050, to ensure the fix made by r12-9903-g1be57348229666 doesn't get reverted. libstdc++-v3/ChangeLog: PR libstdc++/111050 * include/bits/hashtable_policy.h (_Hash_node_value_base): Add comment about always_inline attributes. --- diff --git a/libstdc++-v3/include/bits/hashtable_policy.h b/libstdc++-v3/include/bits/hashtable_policy.h index 1fa8c01d5e8..76fbc0d3b02 100644 --- a/libstdc++-v3/include/bits/hashtable_policy.h +++ b/libstdc++-v3/include/bits/hashtable_policy.h @@ -310,6 +310,8 @@ namespace __detail __gnu_cxx::__aligned_buffer<_Value> _M_storage; + // These member functions must be always_inline, see PR 111050 + [[__gnu__::__always_inline__]] _Value* _M_valptr() noexcept