Test-and-Set

Why can't you build a correct spinlock using just a regular load and store to a flag variable?