https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58306
--- Comment #21 from Artem S. Tashkinov <t.artem at mailcity dot com> --- (In reply to Martin Liška from comment #20) > > Do I understand the patch correctly that it requires > > "-fprofile-update=atomic" option in order to eliminate this bug? > > Exactly, I hope I'll be able to merge the whole patchset (5) to mainline > soon. What's the rationale behind this decision? This looks a bit counter intuitive and counter productive. People just enable profiling and don't think twice about extra requirements it might ensue.