Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site alice.UUCP Path: utzoo!watmath!clyde!burl!ulysses!allegra!alice!ark From: ark@alice.UucP (Andrew Koenig) Newsgroups: net.lang.f77,net.bugs.4bsd Subject: Re: Subroutine bug with 4.2 BSD F77. Message-ID: <5657@alice.uUCp> Date: Wed, 18-Jun-86 09:51:11 EDT Article-I.D.: alice.5657 Posted: Wed Jun 18 09:51:11 1986 Date-Received: Thu, 19-Jun-86 19:33:50 EDT References: <3180@sjuvax.UUCP> Organization: Bell Labs, Murray Hill Lines: 15 Xref: watmath net.lang.f77:552 net.bugs.4bsd:2179 > I'm sorry people. As has been pointed out to me by various people, > one needs a forward declaration of bug in order to over-ride the > default typing of Fortran. > This was brought to my attention by a local user. My previous > experience with Fortran has been with Fortran IV in the old days > of punched cards. Both the compilers I used previously would have > used extensions. I'll bet bet it wouldn't have worked in "the old days," at least not on IBM systems. IBM mainframes have separate integer and floating-point registers. There's just no way that the compiler could do the right thing without the declaration.