Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!purdue!haven!mimsy!chris From: chris@mimsy.UUCP (Chris Torek) Newsgroups: comp.lang.c Subject: Re: register variable??? Message-ID: <19558@mimsy.UUCP> Date: 13 Sep 89 13:02:43 GMT References: <30585@srcsip.UUCP> <19487@mimsy.UUCP> <615@ccssrv.UUCP> Organization: U of Maryland, Dept. of Computer Science, Coll. Pk., MD 20742 Lines: 26 >>In article <30585@srcsip.UUCP> sklee@pompeii.SRC.Honeywell.COM (Sungkee Lee) >>wrote: >>> while (i < 4) list[i] = list[++i]; >In article <19487@mimsy.UUCP> I griped: >>USE LINT!!!!! >>Sheesh. In article <615@ccssrv.UUCP> perry@ccssrv.UUCP (Perry Hutchison) writes: >Provided he has it on his system In this case, he did (he said `a Sun'; all Suns have lint). >and understands the (frequently cryptic) messages it produces. This is a somewhat better objection. However, in this case, the message from lint is of the form: warning: i evaluation order undefined. That, plus different outputs from different compilations, should be enough for anyone to figure out that, well, the evaluation order is undefined and in fact does vary. -- In-Real-Life: Chris Torek, Univ of MD Comp Sci Dept (+1 301 454 7163) Domain: chris@mimsy.umd.edu Path: uunet!mimsy!chris