autoconf-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: changing "configure" to default to "gcc -g -O2 -fwrapv ..."


From: Robert Dewar
Subject: Re: changing "configure" to default to "gcc -g -O2 -fwrapv ..."
Date: Sat, 30 Dec 2006 22:12:07 -0500
User-agent: Thunderbird 1.5.0.9 (Windows/20061207)

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

[Prev in Thread] Current Thread [Next in Thread]