Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site brl-tgr.ARPA Path: utzoo!watmath!clyde!burl!ulysses!allegra!mit-eddie!genrad!wjh12!talcott!harvard!seismo!brl-tgr!gwyn From: gwyn@brl-tgr.ARPA (Doug Gwyn) Newsgroups: net.unix-wizards,net.lang.c,net.bugs.4bsd Subject: Re: Comparison failure in C compiler Message-ID: <6196@brl-tgr.ARPA> Date: Thu, 29-Nov-84 19:06:35 EST Article-I.D.: brl-tgr.6196 Posted: Thu Nov 29 19:06:35 1984 Date-Received: Sat, 1-Dec-84 06:55:05 EST References: <438@aquila.noao.UUCP> Distribution: net Organization: Ballistic Research Lab Lines: 16 Xref: genrad net.unix-wizards:10958 net.lang.c:3513 net.bugs.4bsd:1265 > The following program (sadly) prints the message > > main() > { > 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); > } 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.