[PATCH] C undefined behavior fix
Fergus Henderson
fjh@cs.mu.oz.au
Wed Jan 9 02:51:00 GMT 2002
On 03-Jan-2002, Paul Mackerras <paulus@samba.org> wrote:
> "Conforming" means that the program will run the same on any architecture
In ANSI/ISO C and C++, "strictly conforming" means basically what you said.
But "conforming" means much less -- a "conforming program" is just a
program that is acceptable to at least one conforming C implementation
somewhere. Since conforming C implementations are allowed to accept
*anything*, provided they issue a diagnostic, the term "conforming program"
is essentially meaningless.
--
Fergus Henderson <fjh@cs.mu.oz.au> | "I have always known that the pursuit
The University of Melbourne | of excellence is a lethal habit"
WWW: <http://www.cs.mu.oz.au/~fjh> | -- the last words of T. S. Garp.
More information about the Gcc
mailing list