diff options
author | Jakub Jelinek <jakub@redhat.com> | 2025-03-31 07:39:53 +0200 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2025-03-31 07:39:53 +0200 |
commit | 78aed0ae5de801cc1e8220b214145300b28da562 (patch) | |
tree | e5fce7d3c19b5d67b9ddf10b8b9cf3cb3a1689cb | |
parent | 4cdc5b505fe03c5a546b09df7f1fc6877b1d6f45 (diff) | |
download | gcc-78aed0ae5de801cc1e8220b214145300b28da562.zip gcc-78aed0ae5de801cc1e8220b214145300b28da562.tar.gz gcc-78aed0ae5de801cc1e8220b214145300b28da562.tar.bz2 |
libstdc++: Fix up string _M_constructor<bool> exports [PR103827]
On Thu, Mar 27, 2025 at 02:04:24PM +0100, Jan Hubicka wrote:
> Seems I missed the approval, sorry. I will push it - I think it would
> be useful to have it in.
Unfortunately the exports in this patch only work on targets where size_t is
unsigned long, not e.g. on ia32 where it is unsigned int, or targets where
it is unsigned long long.
2025-03-31 Jakub Jelinek <jakub@redhat.com>
PR tree-optimization/103827
PR tree-optimization/80331
PR tree-optimization/87502
* config/abi/pre/gnu.ver (GLIBCXX_3.4.34): Use [jmy] rather than m
in pattern for _M_construct<bool>(char const*, size_t).
-rw-r--r-- | libstdc++-v3/config/abi/pre/gnu.ver | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libstdc++-v3/config/abi/pre/gnu.ver b/libstdc++-v3/config/abi/pre/gnu.ver index eb23029..10bf997 100644 --- a/libstdc++-v3/config/abi/pre/gnu.ver +++ b/libstdc++-v3/config/abi/pre/gnu.ver @@ -2540,9 +2540,9 @@ GLIBCXX_3.4.34 { _ZNSt8__format25__locale_encoding_to_utf8ERKSt6localeSt17basic_string_viewIcSt11char_traitsIcEEPv; # __sso_string constructor and destructor _ZNSt12__sso_string[CD][12]Ev; - # void std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_construct<bool>(char const*, unsigned long) + # void std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_construct<bool>(char const*, size_t) # and wide char version - _ZNSt7__cxx1112basic_stringI[cw]St11char_traitsI[cw]ESaI[cw]EE12_M_constructILb[01]EEEvPK[cw]m; + _ZNSt7__cxx1112basic_stringI[cw]St11char_traitsI[cw]ESaI[cw]EE12_M_constructILb[01]EEEvPK[cw][jmy]; } GLIBCXX_3.4.33; # Symbols in the support library (libsupc++) have their own tag. |