Tested uild-x86_64-pc-linux-gnu, pushed to trunk and gcc-11. On Thu, Nov 25, 2021 at 1:24 PM Jonathan Wakely <jwak...@redhat.com> wrote:
> On Wed, 24 Nov 2021 at 01:27, Thomas Rodgers wrote: > > > > const qualification was also missing in the free functions for > wait/wait_explicit/notify_one/notify_all. Revised patch attached. > > Please tweak the whitespace in the new test: > > > +test1(const std::atomic<char*> &a, char*p) > > The '&' should be on the type not the variable, and there should be a > space before 'p': > > > +test1(const std::atomic<char*>& a, char* p) > > OK for trunk and gcc-11 with that tweak, thanks! > >