(j3.2006) request for interpretation
Bill Long
longb
Tue Apr 1 18:09:40 EDT 2008
Robert Corbett wrote:
> Aleksandar Donev wrote:
>
>
>> Is there a compiler that actually implements what Kurt says was the intention?
>>
>
> Yes. Intel's ifort compiler, PGI, gfortran and g95 all do.
>
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.
Is there any consistency in which of the two specifics in the generic
gets picked by the compilers that let this through?
Cheers,
Bill
> Bob Corbett
> _______________________________________________
> 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