> From: Jonathan Wakely <[email protected]> > Date: Wed, 8 Oct 2025 21:19:25 +0100
> libstdc++-v3/ChangeLog: > > PR libstdc++/122172 > * include/bits/shared_ptr_base.h (_Sp_counted_base): Define > _Unsigned_count_type for make_unsigned<_Atomic_word>. > Replace __int_traits<_Atomic_word> with equivalent expression. > * include/ext/atomicity.h (_GLIBCXX_UNSIGNED_ATOMIC_WORD): > Define macro for unsigned type to use for arithmetic. > (__exchange_and_add_single, __atomic_add_single): Use it. LGTM for cris-elf: tested at r16-4259-g9242a89d088f44, this does not yield regressions compared to...that other patch suggested in the PR composed of several comments. :-) And thanks again for looking into this so quickly; as soon as I found time to write a bug-report. brgds, H-P
