(j3.2006) request for interpretation
Wed Apr 2 15:33:36 EDT 2008
Bill Long wrote:
> The version of PGI that I have (7.1.6) gives a compile time error. So
> do Pathscale and Cray.
> Of course, a compiler can do anything with a non-conforming program
> like this, since there is no hard constraint involved here. It's
> possible that among the compilers that do allow this, it is the case
> of just not doing the check (since it is not required), rather than a
> deliberate decision to pick one specific over the other.
I would just note that in the f08 draft (pp 281-282 of 08-007r2), the
rules that require distinguishable specifics have been converted into
Constraints. Thus, while some lax compliers can argue conformance now,
the new standard will require that they diagnose the error in the
example code you posted.
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