https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80952

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |missed-optimization

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
I believe threadsafe counters are now used by default when you use -pthread
(which -fopenmp enables IIRC).  For counters in loops that is quite harmful,
mitigation was discussed but final implementation did not happen (yet).  You
can override
this by adding

-fprofile-update=single

Reply via email to