https://gcc.gnu.org/bugzilla/show_bug.cgi?id=38544
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> --- GCC, ICC, clang nor MSVC does this. Someone would need to look at the instruction to see if it is valid to do for the C++11 memory model too. Does it write to the memory location even without the add?