From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,e7db62ae55f7ab54 X-Google-Attributes: gidfee84,public X-Google-Thread: 1164f8,e7db62ae55f7ab54 X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1994-08-02 07:11:07 PST Path: bga.com!news.sprintlink.net!news.onramp.net!convex!cs.utexas.edu!howland.reston.ans.net!usc!elroy.jpl.nasa.gov!lll-winken.llnl.gov!decwrl!pa.dec.com!jac.zko.dec.com!granda.zk3.dec.com!neth From: neth@granda.zk3.dec.com (Craig Neth USG) Newsgroups: comp.unix.osf.osf1,comp.sys.dec Subject: Re: Possible Alpha f77 Problem Date: 2 Aug 1994 13:31:21 GMT Organization: Digital Equipment Corporation Distribution: world Message-ID: <31lhr9$m2s@jac.zko.dec.com> References: <31gt09$i8d@umigw.miami.edu> <31knsb$40g@masala.cc.uh.edu> Reply-To: neth@granda.zk3.dec.com (Craig Neth USG) NNTP-Posting-Host: granda.zk3.dec.com X-Newsreader: mxrn 6.18-18 Xref: bga.com comp.unix.osf.osf1:2832 comp.sys.dec:4777 In article <31knsb$40g@masala.cc.uh.edu>, t-mas@uhibpd.phys.uh.edu (Thomas Wright Sysop. UHIBPD) writes: [... bunch of stuff about log(-10.0) not returning an error ...] As near as we can tell, this is probably caused by a bug in the math library on OSF V1.3. As several posters have pointed out, it is fixed in OSF V2.0. |>I have a similar yet different problem... |> |> This program gives different results (one correct, one incorrect) on |>different machines (one is a DEC 5000/200 running ULTRIX 4.2, and the other is |>an DEC ALPHA AXP 3000/300x running OSF/1 v2.0) running different versions of |>f77 (v3.1 on the 5000, and v3.3 on the 3000). Is this a bug in the f77 v3.3 |>DEC fortran compiler? [... Examples deleted ...] |>P.S. I installed DEC F77 v3.4 and the problem disappered... You answered your own question. It appears to be a bug in the optimizer of the V3.3 compiler, which is fixed in V3.4. The Fortran people tell me that there were some optimizer problems in V3.3 that were related to code similiar to your example. These problems were fixed in V3.4. Is there some reason you cannot use V3.4 or were you just curious? -- -------------------------------------------------------------------------------- Craig Neth ! neth@zk3.dec.com Digital Equipment Corporation ! 110 Spit Brook Road ZKO3-3/Y25 ! Nashua, NH 03062 ! Opinions expressed herein are my own. ================================================================================