Bug 17616

Summary: Re: f77 man page needs updated
Product: Base System Reporter: Randall Hopper <aa8vb>
Component: binAssignee: freebsd-doc (Nobody) <doc>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 1.0-RELEASE   
Hardware: Any   
OS: Any   

Description Randall Hopper 2000-03-27 05:30:02 UTC
 Randall Hopper:
  |>Synopsis:       f77 man page needs updated
 ...
  |	f77(1) says "From the user side of view this FORTRAN to C
  |	translation is completely transparent - f77 looks like a
  |	traditional FORTRAN compiler."
  |
  |        However, pop this in a file:
  |
  |                SUBROUTINE XMDF2T(APARM)
  |                IMPLICIT DOUBLE PRECISION(A)
  |                INTEGER  INT1
  |                DATA FR/0D0/
  |                INTEGER  INT2
  |          99998 END
  |
  |        and compile using "f77 -c tst.f":
  |
  |        Error on line 5 of tst.f: Statement order error: declaration after DATA
  |
  |        f77 compilers will eat this, but f2c will not.  This is briefly
  |        mentioned in f2c.ps.
 
 I found a tool that pre-chews FORTRAN so that f2c can digest it.  It also
 comes with a "f77" front-end script:
 
      http://www-hermes.desy.de/ww/f77prob.html
 
 Expect a port soon.
 
 Randall
Comment 1 Jeroen Ruigrok van der Werven freebsd_committer freebsd_triage 2000-04-05 12:35:32 UTC
Responsible Changed
From-To: gnats-admin->freebsd-doc

Belongs to doc. 
Comment 2 Steve Price freebsd_committer freebsd_triage 2000-05-28 15:55:04 UTC
State Changed
From-To: open->closed

Followup to bin/17611.