From rhh@ipass.net  Sun Mar 26 17:49:30 2000
Return-Path: <rhh@ipass.net>
Received: from charon.ipass.net (charon.ipass.net [198.79.53.8])
	by hub.freebsd.org (Postfix) with ESMTP id D4FB537B6A6
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 26 Mar 2000 17:49:29 -0800 (PST)
	(envelope-from rhh@ipass.net)
Received: from stealth.ipass.net. (ppp-1-253.dialup.rdu.ipass.net [209.170.132.253])
	by charon.ipass.net (8.9.3/8.9.3) with ESMTP id UAA22479;
	Sun, 26 Mar 2000 20:49:25 -0500 (EST)
Received: (from rhh@localhost)
	by stealth.ipass.net. (8.9.3/8.8.8) id UAA35795;
	Sun, 26 Mar 2000 20:52:05 -0500 (EST)
	(envelope-from rhh)
Message-Id: <200003270152.UAA35795@stealth.ipass.net.>
Date: Sun, 26 Mar 2000 20:52:05 -0500 (EST)
From: aa8vb@ipass.net
Sender: rhh@ipass.net
Reply-To: aa8vb@ipass.net
To: FreeBSD-gnats-submit@freebsd.org
Cc: aa8vb@ipass.net
Subject: f77 man page needs updated
X-Send-Pr-Version: 3.2

>Number:         17611
>Category:       bin
>Synopsis:       f77 man page needs updated
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Mar 26 17:50:01 PST 2000
>Closed-Date:    Sun Jun 17 06:00:30 PDT 2001
>Last-Modified:  Sun Jun 17 06:03:27 PDT 2001
>Originator:     Randall Hopper
>Release:        FreeBSD 3.4-RELEASE i386
>Organization:
self
>Environment:

	Stock 3.4-RELEASE

>Description:

	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.

>How-To-Repeat:

	See above.

        This is causing me major grief trying to cook a FreeBSD port for
        the FeatFlow CFD package (www.featflow.de).  I realize f2c isn't
        under our control.  Therefore the man page should at least be
        updated with caveats.

>Fix:
	
	Please update man page with caveats of use resulting from using f2c
	over a FORTRAN compiler.  Thanks.

        Note: f77 and f2c from ports generates the same behavior, so the
        f77 port man page should probably be updated as well.

>Release-Note:
>Audit-Trail:

 Date: Sun, 26 Mar 2000 23:29:12 -0500
 From: Randall Hopper <aa8vb@ipass.net>
 Sender: rhh@ipass.net
 To: FreeBSD-gnats-submit@freebsd.org
 Subject: Re: f77 man page needs updated
 
 >Number:         17616
 >Category:       bin
 >Synopsis:       Re: f77 man page needs updated
 >Confidential:   yes
 >Severity:       serious
 >Priority:       medium
 >Responsible:    freebsd-doc
 >State:          open
 >Quarter:        
 >Keywords:       
 >Date-Required:  
 >Class:          doc-bug
 >Submitter-Id:   current-users
 >Arrival-Date:   Sun Mar 26 20:30:02 PST 2000
 >Closed-Date:    
 >Last-Modified:  Wed Apr  5 04:36:34 PDT 2000
 >Originator:     
 >Release:        
 >Organization:
 >Environment:
 >Description:
  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

State-Changed-From-To: open->closed 
State-Changed-By: schweikh 
State-Changed-When: Sun Jun 17 06:00:30 PDT 2001 
State-Changed-Why:  
There's no f77(1) man page on -current, it's a link to 
g77(1). g77(1) in turn doesn't display the quoted paragraph. 
I also couldn't find that paragraph in the info docs. 
Please contact the GNU folks if this is still an issue. 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=17611 
>Unformatted:
