Your analysis is IMO correct, but there's one special case: In the
example above, p is static and not explicitly initialized, which usually
means that p equals 0x00000000. &p[i - 1] will then equal 0xfffffffc
(sizeof(int) == 4), which *is* greater than 0x00000000, if the C compiler
uses unsigned comparision for pointer values. If p is set to another
value, the message goes away (tested with gcc 2.7.2.x on i386).
-- Michael "Tired" Riepe <Michael.Riepe@stud.uni-hannover.de> "All I wanna do is have a little fun before I die"
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to firstname.lastname@example.org Please read the FAQ at http://www.tux.org/lkml/