Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Jan 1999 11:50:24 -0800 (PST)
From:      Steve Kargl <sgk@troutmask.apl.washington.edu>
To:        simokawa@sat.t.u-tokyo.ac.jp (Hidetoshi Shimokawa)
Cc:        cvs-committers@FreeBSD.ORG, dfr@FreeBSD.ORG
Subject:   Re: cvs commit: src/usr.bin/f2c proc.c
Message-ID:  <199901181950.LAA84744@troutmask.apl.washington.edu>
In-Reply-To: <19990118171804P.simokawa@sat.t.u-tokyo.ac.jp> from Hidetoshi Shimokawa at "Jan 18, 1999  5:18: 4 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
Hidetoshi Shimokawa wrote:
> From: Steve Kargl <sgk@troutmask.apl.washington.edu>
> Subject: Re: cvs commit: src/usr.bin/f2c proc.c
> Date: Sun, 10 Jan 1999 11:50:03 -0800 (PST)
> Message-ID: <199901101950.LAA03808@troutmask.apl.washington.edu>
> 
> sgk> According to Doug Rabson:
> sgk> > dfr         1999/01/10 09:22:51 PST
> sgk> > 
> sgk> >   Modified files:
> sgk> >     usr.bin/f2c          proc.c 
> sgk> >   Log:
> sgk> >   From the submitter:
> sgk> >   
> sgk> >   I found the reason why f77 so offen dies on alpha. Here is a fix.
> sgk> >   "Const" is a union of int and double.
> sgk> >   If nelt->constblock.Const.ci > 0 then it trys to evaluate it as double
> sgk> >   and floating point exception occurs.
> sgk> >   
> sgk> 
> sgk> There may be worse problems with f2c on alpha machines.  My Alphastation
> sgk> runs Digital Unix, so I haven't had a channce to FreeBSD/axp.
> sgk> 
> 
> If nobody objects, I would like to commit following patch.
> This patch should have no effect on i386, because 'long' == 'int'
> on i386.
> 

I don't object to the patch, but I'm working on removing 
f2c, libf2c, and f77 from the base distribution.  I have
f2c and libf2c building within the ports framework, and
I've written a new f77 wrapper.  I should have the work
done and tested in the next week.  The new wrapper has some
desirable features that can't be easily integrated into the
current f77(1).

-- 
Steve

finger kargl@troutmask.apl.washington.edu
http://troutmask.apl.washington.edu/~clesceri/kargl.html

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199901181950.LAA84744>