https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86846
--- Comment #4 from dave.anglin at bell dot net --- On 2018-08-11 4:08 PM, redi at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86846 > > --- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> --- > N.B. this doesn't need compare and exchange, just exchange. There also isn't exchange operation. :-(