From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: Date: Tue, 1 Apr 97 16:14 CST From: Barry Caplin Subject: Re: g77 Hi, > > > > 1) Is there g77 software for Alpha ? Because fort77 (which is in > > the reality f2c) has very bad performance. > > Unfortunately, no, not yet. Although the developers are working on the > port, there are many issues still unresolved. Maybe in a few months. > Funny you should mention this! I am in the process of porting the NAG F90 compiler to Alpha Linux. I have run into a problem with gcc. I have been emailing with Rick Gorton of DEC and he suggested I post the problem to this list. Here is some excerpts from our email conversations that explain the problem: ----- Begin Included Message ----- What I have found is that there is a serious bug in the C compiler (GNU C version 2.7.2). When passing the smallest "float" as an argument, it passes instead a value smaller than the smallest "double". There is, to my knowledge, a 2.7.2.1 version which apparently contains some bug fixes. Worth checking, but I do not hold any high hopes. ------------- Hi Barry, I've been able to recreate the pass-by-value of MIN_FLT problem with gcc. I'm looking for the root cause now - I'll keep you posted. Rick >From amt.tay1.dec.com!gorton Fri Mar 21 13:27:11 1997 From: Richard Gorton To: caplin@nag.com Here's what I've found so far: gcc itself (2.7.2) is converting FLT_MIN (1.17549435e-38f) into 1.17549435082228750797e-38 (which I believe to be correct) The assembler (gas) seems to be screwing up and converting that number into 0x007fffff instead of 0x00800000. I'm investigating a fix. FYI, this is a fairly old binutils problem: Thu Sep 23 16:20:34 1993 Ken Raeburn (raeburn@cambridge.cygnus.com) * gas/ieee.fp/x930509a.exp: Currently expected to fail always. # Reported 93/05/09 by Jim Wilson: IEEE single-precision FLT_MIN value gets # assembled incorrectly. (Off by one ulp.) Regards, Rick --------------------- Hi - I've not made much progress in the last couple of days on the problem you were seeing with gcc for Linux/Alpha (A couple of other things stepped in the way) but it is next on my list. The downside is that I'm going to be out of the office on business for the upcoming week, so I won't be able to make progress. What you can do is post the problem to axp-list@redhat.com and/or email it to Richard Henderson (rth@tamu.edu or richard@atheist.tamu.edu) He's _very_ knowledgable in the gcc/binutils area, and might be able to turn around a quick fix for you. Rick ----- End Included Message ----- If anyone has any advice for me I would be most grateful. Thanks, Barry Barry Caplin email: bc@nag.com Numerical Algorithms Group -- To unsubscribe: send e-mail to axp-list-request@redhat.com with 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com