for(;;) vs. while(1) is a draw

Blair P. Houghton bph at buengc.BU.EDU
Sat May 26 03:15:43 AEST 1990


In article <Z4O3P:2 at xds13.ferranti.com> peter at ficc.ferranti.com (Peter da Silva) writes:
>In article <5879 at buengc.BU.EDU> bph at buengc.bu.edu (Blair P. Houghton) writes:
>> "The semantic descriptions in this standard describe the behavior
>> of an abstract machine in which issues of optimization are irrelevant."
>> (ANSI X3.159-1989, Sec. 2.1.2.3, pp. 8, ll. 29-30)
>
>I don't believe that is an operative statement. The quote you gave means
>the compiler can legally generate any code it likes for anything, so long
>as the semantics match the abstract machine. The compiler is permitted
>to generate any code it likes, including code that calls "sendmail" to
>mail a message to Dennis Ritchie asking him which way he thinks the test
>should go today.

When did I say otherwise?

				--Blair
				  "Are you paying attention?"



More information about the Comp.std.c mailing list