(j3.2006) interp fodder from comp.lang.fortran

Robert Corbett robert.corbett
Fri Sep 4 06:01:23 EDT 2015


On 09/04/15 02:04, Robert Corbett wrote:
> The Fortran 95 standard's rules for deciding if an assignment statement
> is a defined assignment statement [7.5.1.6p2] includes the sentence
>
>         The types of x[1] and x[2] shall not both be numeric,
>         both be logical, or both be characters with the same
>         kind type parameter value.
>
> The rules for deciding if an assignment statement is a defined
> assignment statement in Fortran 2003 standard [7.4.1.4] and in the
> Fortran 2008 standard [7.2.1.4] no longer contain that sentence.
> Deletion of that sentence appears to cause a significant incompatibility.
>
> The change is not listed in the compatibility clauses of the Fortran
> 2003 and Fortran 2008 standards.  Do those later standards include
> text equivalent to the missing sentence?  If not, was the change
> deliberate?

I found the (almost) equivalent text.  It is in Clause 12.4.3.4.3 of the
Fortran 2008 standard, and in Clause 12.3.2.1.2 of the Fortran 2003
standard.

Robert Corbett



More information about the J3 mailing list