On 7/7/22 13:46, Richard Biener wrote:
> OK - that also resolves the mingw issue, correct? I suppose we need
Yes.
> to be careful to not advertise v1 API (which includes threadsafeness)
> when not HAVE_PTHREAD_LOCKING.
Will reflect that in the patch.
I'm going to push it now.
Martin
On 7/7/22 13:52, Rainer Orth wrote:
> Richard Biener via Gcc-patches writes:
>
>>> +if test x$use_locking = xyes; then
>>> + AC_DEFINE(HAVE_PTHREAD_LOCKING, 1,
>>> + [Define if the system-provided pthread locking mechanism.])
>
> This isn't even a sentence. At least I cannot parse it
Richard Biener via Gcc-patches writes:
>> +if test x$use_locking = xyes; then
>> + AC_DEFINE(HAVE_PTHREAD_LOCKING, 1,
>> + [Define if the system-provided pthread locking mechanism.])
This isn't even a sentence. At least I cannot parse it. Besides, it
seems to be misnamed since the t
On Thu, Jul 7, 2022 at 1:43 PM Martin Liška wrote:
>
> For now, support locking only for linux targets that are different from
> riscv* where the target depends on libatomic (and fails during
> bootstrap).
>
> Patch can bootstrap on x86_64-linux-gnu and survives regression tests.
>
> Ready to be i