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] |
Toon Moene wrote:
Richard Henderson wrote:On Mon, Dec 16, 2002 at 10:04:01PM +0100, Toon Moene wrote:BTW, I wasn't aware it's legal to dereference NULL C pointers.
Oh, wait, I see what you mean:It isn't, of course. But that's the whole point. You've got code that says x = (condition ? *p : 0); i.e. the dereference is protected by a conditional.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |