Article View: comp.std.c
Article #1306Re: for(;;) vs. while(1) is a draw
From: Peter da Silva
Date: Sat, 26 May 1990 20:57
Date: Sat, 26 May 1990 20:57
14 lines
1187 bytes
1187 bytes
In article <5904@buengc.BU.EDU> bph@buengc.bu.edu (Blair P. Houghton) writes: > In article <Z4O3P:2@xds13.ferranti.com> peter@ficc.ferranti.com (Peter da Silva) writes: > >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. > When did I say otherwise? When you said the standard requires the compiler generate identical code for !while(1)! and !for(;;)!. -- `-_-' Peter da Silva. +1 713 274 5180. <peter@ficc.ferranti.com> 'U` Have you hugged your wolf today? <peter@sugar.hackercorp.com> @FIN Dirty words: Zhghnyyl erphefvir vayvar shapgvbaf.
Technical Details
Message-ID:
<0:P3-A6@ggpc2.ferranti.com>Path:
arc1-ca.pugleaf.net!utzoo!attcan!uunet!cs.utexas.edu!texbell!ficc!peterReferences:
<5876@buengc.BU.EDU> <12955@smoke.BRL.MIL> <5879@buengc.BU.EDU> <Z4O3P:2@xds13.ferranti.com> <5904@buengc.BU.EDU>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!cs.utexas.edu!texbell!ficc!peter From: peter@ficc.ferranti.com (Peter da Silva) Newsgroups: comp.std.c Subject: Re: for(;;) vs. while(1) is a draw Message-ID: <0:P3-A6@ggpc2.ferranti.com> Date: 26 May 90 20:57:02 GMT References: <5876@buengc.BU.EDU> <12955@smoke.BRL.MIL> <5879@buengc.BU.EDU> <Z4O3P:2@xds13.ferranti.com> <5904@buengc.BU.EDU> Reply-To: peter@ficc.ferranti.com (Peter da Silva) Organization: Xenix Support, FICC Lines: 10