Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!akgua!mcnc!decvax!cca!ima!ism780!jim From: jim@ism780.UUCP Newsgroups: net.lang.c Subject: Re: Re: i = i * f *vs* i *= f (Not a b - (nf) Message-ID: <141@ism780.UUCP> Date: Sun, 22-Apr-84 00:03:07 EST Article-I.D.: ism780.141 Posted: Sun Apr 22 00:03:07 1984 Date-Received: Mon, 23-Apr-84 00:58:37 EST Lines: 12 #R:ecsvax:-231000:ism780:12500003:000:539 ism780!jim Apr 20 18:30:00 1984 As Dennis Ritchie pointed out the last time this came up (quite recently), it is a bug, and it is amazing how hard people will try to convince themselves and others that the compiler must be right, even though the manual clearly says that "l op= r" is equivalent to "l = l op r", except that l is only evaluated once (which means that if l has side-effects, they only happen once; how this can be interpreted as meaning that conversions should happen differently is beyond me). -- Jim Balter, Interactive Systems (decvax!yale-co!ima!jim)