This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
do you say that we can't write a valid/defined program in C for e.g. arm architercture? on some arms, the object (vector interrupt table) starts at adress 0x0.
If 0 is a valid address, then it is improper for the compiler to use 0 to represent the null pointer. You may have in mind the idea that the null pointer has a representation of all zero bits, but there is no such requirement or suggestion in the C language.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |