Displaying 2 results from an estimated 2 matches for "6ea057e6".
2013 Nov 17
0
[LLVMdev] Null pointers with a non-0 representation
...(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20131117/6ea057e6/attachment.html>
2013 Nov 17
2
[LLVMdev] Null pointers with a non-0 representation
I feel a bit silly asking this, but here goes.
The C spec does not require the null pointer to be implemented as an integer with the 0 bit-pattern. The implementation may arbitrarily choose any other (integer, but not necessarily) representation, as long as it's distinct from any legal pointer. The only requirement is that casting an integer 0 to a pointer type results in a null pointer.