Richard Kenner wrote:

I found my copy of K&R (Second Edition).  Page 200: "The handling of overflow,
divide check, and other exceptions in expression evaluation is not defined
by the language.  Most existing implementations of C ignore overflow in
evaluation of signed integral expressions and assignments, but this behavior
is not guaranteed."

OK, that's what I remembered, so in fact the new C standard has changed
nothing from a definitional point of view, it is just that people got
in the habit of ignoring the definition and going with what the compiler(s) happened to do.

Reply via email to