Could you explain further, so x = 1 now, what exactly has all bits set to 1?
It's true that the given C code doesn't have those semantics, but you can see what the GP was driving at if you squint a bit. Uh, and if you know how these instructions work already.