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

Robert Corbett robert.corbett
Fri Sep 4 05:04:16 EDT 2015


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?

Robert Corbett



More information about the J3 mailing list