https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119535
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to Sam James from comment #2) > (In reply to Andrew Pinski from comment #1) > > Ah, I thought you always had to do -fprofile-update=atomic for that. gcc.cc has the following for the default cc1 options spec: %{pthread:-fprofile-update=prefer-atomic}