for(;;) vs. while(1) is a draw
Peter da Silva
peter at ficc.ferranti.com
Thu May 31 01:13:16 AEST 1990
In article <5916 at buengc.BU.EDU> bph at buengc.bu.edu (Blair P. Houghton) writes:
> In article <0:P3-A6 at ggpc2.ferranti.com> peter at ficc.ferranti.com (Peter da Silva) writes:
> >you said the standard requires the compiler generate identical code
> >for !while(1)! and !for(;;)!.
> I said that a compiler that
> the implementor claimed to be matching the standard's model
> of a hypothetical machine would, in fact, generate
> identical code for !while(1)! and !for(;;)!.
I'm sorry, but I can't see any significant difference between these two
statements.
Perhaps you should try turning on your English language optimiser?
--
`-_-' Peter da Silva. +1 713 274 5180. <peter at ficc.ferranti.com>
'U` Have you hugged your wolf today? <peter at sugar.hackercorp.com>
@FIN Dirty words: Zhghnyyl erphefvir vayvar shapgvbaf.
More information about the Comp.std.c
mailing list