Infinite loops
Arthur David Olson
ado at elsie.UUCP
Wed May 7 08:28:37 AEST 1986
> . . .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 at seismo.ARPA
DEC, VAX, Elsie & Ado are Digital, Borden & Shakespeare trademarks.
More information about the Comp.lang.c
mailing list