Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/17/84; site elsie.UUCP Path: utzoo!watmath!clyde!burl!ulysses!allegra!mit-eddie!godot!harvard!seismo!umcp-cs!cvl!elsie!ado From: ado@elsie.UUCP (Arthur David Olson) Newsgroups: net.unix-wizards,net.lang.c,net.bugs.4bsd Subject: Re: Comparison failure in C compiler Message-ID: <4088@elsie.UUCP> Date: Fri, 30-Nov-84 12:19:00 EST Article-I.D.: elsie.4088 Posted: Fri Nov 30 12:19:00 1984 Date-Received: Sun, 2-Dec-84 05:39:52 EST References: <438@aquila.noao.UUCP> <6196@brl-tgr.ARPA> Distribution: net Organization: NIH-LEC, Bethesda, MD Lines: 22 Xref: godot net.unix-wizards:3916 net.lang.c:2060 net.bugs.4bsd:622 noao!rwolff-- > The following program (sadly) prints the message... > int n, i; > float x[2]; > > x[0] = 1.; > n = 10000; > i = 0; > if(x[i] > n) > printf("finds %g is > %d\n",x[i],n); brl-tgr!gwyn-- > Why not use the current release of PCC instead? That is what I do; > I quickly got tired of bugs like this in the one shipped with 4BSD. While some folks have the money and clout to keep constantly up-to-date, others do have legitimate economic and legal reasons for using older tools. -- UNIX is an AT&T Bell Laboratories trademark. -- ..decvax!seismo!elsie!ado (301) 496-5688 DEC, VAX and Elsie are Digital Equipment and Borden trademarks