Re: libstdc++: Rewrite atomic builtin checks: Fix up 'GLIBCXX_ENABLE_BACKTRACE' check with 'size_t' [PR119667] (was: [PATCH] libstdc++: Rewrite atomic builtin checks [PR70560])

2025-05-12 Thread Jonathan Wakely
On Mon, 12 May 2025 at 09:52, Thomas Schwinge wrote: > > Hi! > > On 2025-04-29T21:09:17+0100, Jonathan Wakely wrote: > > The GLIBCXX_ENABLE_BACKTRACE macro currently uses the > > glibcxx_ac_atomic_int macro defined by the checks that this commit > > removes from GLIBCXX_ENABLE_ATOMIC_BUILTINS. Th

libstdc++: Rewrite atomic builtin checks: Fix up 'GLIBCXX_ENABLE_BACKTRACE' check with 'size_t' [PR119667] (was: [PATCH] libstdc++: Rewrite atomic builtin checks [PR70560])

2025-05-12 Thread Thomas Schwinge
Hi! On 2025-04-29T21:09:17+0100, Jonathan Wakely wrote: > The GLIBCXX_ENABLE_BACKTRACE macro currently uses the > glibcxx_ac_atomic_int macro defined by the checks that this commit > removes from GLIBCXX_ENABLE_ATOMIC_BUILTINS. That wasn't a good check > anyway, because libbacktrace actually depe

Re: [PATCH] libstdc++: Rewrite atomic builtin checks [PR70560]

2025-05-05 Thread Tomasz Kaminski
On Wed, Apr 30, 2025 at 2:30 PM Jonathan Wakely wrote: > On Wed, 30 Apr 2025 at 12:12, Tomasz Kaminski wrote: > > > > > > > > On Tue, Apr 29, 2025 at 10:11 PM Jonathan Wakely > wrote: > >> > >> Currently the GLIBCXX_ENABLE_ATOMIC_BUILTINS macro checks for a variety > >> of __atomic built-ins fo

Re: [PATCH] libstdc++: Rewrite atomic builtin checks [PR70560]

2025-04-30 Thread Jonathan Wakely
On Wed, 30 Apr 2025 at 12:12, Tomasz Kaminski wrote: > > > > On Tue, Apr 29, 2025 at 10:11 PM Jonathan Wakely wrote: >> >> Currently the GLIBCXX_ENABLE_ATOMIC_BUILTINS macro checks for a variety >> of __atomic built-ins for bool, short and int. If all those checks pass, >> then it defines _GLIBCX

Re: [PATCH] libstdc++: Rewrite atomic builtin checks [PR70560]

2025-04-30 Thread Tomasz Kaminski
On Tue, Apr 29, 2025 at 10:11 PM Jonathan Wakely wrote: > Currently the GLIBCXX_ENABLE_ATOMIC_BUILTINS macro checks for a variety > of __atomic built-ins for bool, short and int. If all those checks pass, > then it defines _GLIBCXX_ATOMIC_BUILTINS and uses the definitions from > config/cpu/generi

[PATCH] libstdc++: Rewrite atomic builtin checks [PR70560]

2025-04-29 Thread Jonathan Wakely
Currently the GLIBCXX_ENABLE_ATOMIC_BUILTINS macro checks for a variety of __atomic built-ins for bool, short and int. If all those checks pass, then it defines _GLIBCXX_ATOMIC_BUILTINS and uses the definitions from config/cpu/generic/atomicity_builtins/atomicity.h for the non-inline versions of __