sure this is a fair point (I would not call that UB as this is a compiler concept but rather possible erratic behavior) and exactly what @bperrybap was trying to say when he wrote "Atomicity is a totally separate concept/behavior from volatile"
so I did not understand why you "dared to disagree" with that statement. Often You'll need both concepts to get your code right.