To be precise, it's implementation-defined whether it's undefined behavior, prior to C11. You are right that in C11, if uintptr_t is used to store the xored value, behavior is defined.
back
1 comments
Implementation-defined whether it's UB or not is still implementation-defined, I think.
Which change are you thinking of in C11? (I'm just curious.) Thanks!