https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93271
--- Comment #6 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to Jan Hubicka from comment #5) > Also I think it is violation of C++ memory model since we introduce > load+store pair where there was none before? No because a cannot be accessed by another thread. It is not TREE_ADDRESSABLE.