On 13 Oct 2011 at 17:21, Fred Cisin wrote:
Attempting to make use of YOUR compiler's behavior
in an "undefined"
situation was foolish. What SHOULD happen if you divide by 0? (few
compilers could implement a black hole)
An awful lot of the "undefined" behavior was due to the unary
operators ++ and --. For example, the behavior of :
func( a++,++a,a)
was undefined. From a FORTRAN compiler writer's viewpoint, this was
horrible, even if it was a good match for some instruction sets..
It was surprising (from my viewpoint) to witness how long it took to
get a genuine ANSI formalization of the behavior.
--Chuck