Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!linus!philabs!cmcl2!seismo!elsie!ado From: ado@elsie.UUCP (Arthur David Olson) Newsgroups: net.lang.c Subject: Re: Infinite loops Message-ID: <6091@elsie.UUCP> Date: Tue, 6-May-86 18:28:37 EDT Article-I.D.: elsie.6091 Posted: Tue May 6 18:28:37 1986 Date-Received: Thu, 8-May-86 08:33:57 EDT References: <577@ur-helheim.UUCP> <140@toram.UUCP> <185@brl-sem.ARPA> Organization: NIH-LEC, Bethesda, MD Lines: 12 Summary: Antiquity > . . .All the PCC impementations I've checked don't test the ["1" in a > "while (1)"] even when you don't turn the optimizer on. Our old PDP-11 > Ritchie compiler does generate the test, but the standard -O optimizer > removes it. . . If I recall my ancient history aright, the Version 6 C compiler generated the constant test, and the Version 6 optimizer failed to remove it. -- PDP is a Digital Equipment Corporation trademark. -- UUCP: ..decvax!seismo!elsie!ado ARPA: elsie!ado@seismo.ARPA DEC, VAX, Elsie & Ado are Digital, Borden & Shakespeare trademarks.