David Woodhouse wrote:
> What part of 'undefined behaviour' is so difficult for people to understand?
The behaviour is undefined by the C standard. But the mentioned
pointer arithmetic is defined in the environment where it has been
used. GCC tries to optimize undefined C-standard behaviour. And
IMHO that's the point. It may optimize defined behaviour and should
not touch things undefined by the standard.
PS: Hey, we are talking about C, the de luxe assembler! *g*
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to firstname.lastname@example.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Mon Jan 07 2002 - 21:00:21 EST