(j3.2006) Public Comment J32010

Bill Long longb
Fri Jul 11 11:46:53 EDT 2008



Michael Ingrassia wrote:
>                                                             08-224
> To: J3
> From: Michael Ingrassia
> Subject: Public Comment J32010
> Date: 2008 July 08
> ----------------------------------------------------------------------
>
> Commenter's Subject was "constraint C542"
>
> Consider the following program:
>
>        PROGRAM MAIN
>          INTRINSIC SQRT
>          INTERFACE SQRT
>            REAL FUNCTION MYSQRT(X)
>            END FUNCTION
>          END INTERFACE
>        END
>
>        REAL FUNCTION MYSQRT(X)
>          MYSQRT = SQRT(X)
>        END
>
> This program clearly violates constraint C542 in
> Section 5.3.11 of the Fortran 2008 draft.  I have
> had an e-mail correspondence with a member of the
> committee who states that interpretation 90/000083
> makes it clear that the committee intended to
> allow programs such as the one above.  If that is
> so, the final clause of constraint C542, which says
>
>    and the characteristics of the specific
>    intrinsic procedures and the procedures
>    in the interfaces shall differ as specified
>    in 12.4.3.4.5
>
> should be removed.  

Note that is text was newly added in f03.  This seems more like an f03 
interp request.

Cheers,
Bill



> If the committee holds that the
> constraint as written is valid, I suggest adding a
> note giving an example such as the one above to
> confirm that the constraint is the intent of the
> committee.
>
> ----------------------------------------------------------------------
> _______________________________________________
> J3 mailing list
> J3 at j3-fortran.org
> http://j3-fortran.org/mailman/listinfo/j3
>   

-- 
Bill Long                                   longb at cray.com
Fortran Technical Support    &              voice: 651-605-9024
Bioinformatics Software Development         fax:   651-605-9142
Cray Inc., 1340 Mendota Heights Rd., Mendota Heights, MN, 55120

            




More information about the J3 mailing list