aboutsummaryrefslogtreecommitdiff
path: root/gcc/function-tests.cc
diff options
context:
space:
mode:
authorTim Song <t.canens.cpp@gmail.com>2023-09-06 19:31:55 +0200
committerFrançois Dumont <fdumont@gcc.gnu.org>2023-09-28 19:14:30 +0200
commit2c1e3544a94c5d7354fad031e1f9731c3ce3af25 (patch)
treec2d7365739b119b01f0ed3602f0312ae444f951a /gcc/function-tests.cc
parent8552dcd8e4448c02fe230662093756b75dd94399 (diff)
downloadgcc-2c1e3544a94c5d7354fad031e1f9731c3ce3af25.zip
gcc-2c1e3544a94c5d7354fad031e1f9731c3ce3af25.tar.gz
gcc-2c1e3544a94c5d7354fad031e1f9731c3ce3af25.tar.bz2
libstdc++: Force _Hash_node_value_base methods inline to fix abi (PR111050)
https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=1b6f0476837205932613ddb2b3429a55c26c409d changed _Hash_node_value_base to no longer derive from _Hash_node_base, which means that its member functions expect _M_storage to be at a different offset. So explosions result if an out-of-line definition is emitted for any of the member functions (say, in a non-optimized build) and the resulting object file is then linked with code built using older version of GCC/libstdc++. libstdc++-v3/ChangeLog: PR libstdc++/111050 * include/bits/hashtable_policy.h (_Hash_node_value_base<>::_M_valptr(), _Hash_node_value_base<>::_M_v()) Add [[__gnu__::__always_inline__]].
Diffstat (limited to 'gcc/function-tests.cc')
0 files changed, 0 insertions, 0 deletions