]> git.ipfire.org Git - thirdparty/gcc.git/commit
libstdc++: correct symbol version of typeinfo for bfloat16_t on RISC-V
authorAndreas Schwab <schwab@suse.de>
Tue, 21 Jan 2025 22:50:15 +0000 (23:50 +0100)
committerAndreas Schwab <schwab@suse.de>
Mon, 27 Jan 2025 13:15:53 +0000 (14:15 +0100)
commitc6977f765838a5ca8d321d916221a7368622bdd9
treed4a593ab3eedf0784abfa6e5994e688921e074fb
parent343e1083eb9f57e05c0caba195f118ef2e95cc40
libstdc++: correct symbol version of typeinfo for bfloat16_t on RISC-V

RISC-V only gained support for bfloat16_t after gcc 14.  Passes
libstdc++/check_abi on {x86_64,aarch64,ppc64le,riscv64,s390x}-suse-linux.

PR libstdc++/118563
* testsuite/util/testsuite_abi.cc (check_version): Add
CXXABI_1.3.16.
* config/abi/pre/gnu.ver (CXXABI_1.3.14) [__riscv]: Exclude
typeinfo for bfloat16_t.
(CXXABI_1.3.16) [__riscv]: Add it here.
libstdc++-v3/config/abi/pre/gnu.ver
libstdc++-v3/testsuite/util/testsuite_abi.cc