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

Blair P. Houghton bph at buengc.BU.EDU
Tue May 29 10:09:14 AEST 1990


In article <13001 at smoke.BRL.MIL> gwyn at smoke.BRL.MIL (Doug Gwyn) writes:
>In article <5906 at buengc.BU.EDU> bph at buengc.bu.edu (Blair P. Houghton) writes:
>-In article <1990May24.231054.22349 at mozart.amd.com> tim at amd.com (Tim Olson) writes:
>->	"Any or all of the expressions may be dropped.  A missing
>->	expression-2 makes the implied while clause equivalent to
>->	while(1); ..."
>-Oops.  My bad.  So whose compiler was it that did this?
>
>Everybody's!  You don't seem to understand the difference between a
>language specification and code generation.

Doug, doug, doug.  Yes, I do.  Now if you wouldn't mind getting
off your desk and putting down the lamp and looking at what my
original article said, you'd see why you're making an utter ass
of yourself, and splashing excrement all over this group doing it.

				--Blair
				  "Sheesh."



More information about the Comp.std.c mailing list