Coarrays and -fdefault-integer-8

N.M. Maclaren nmm1@cam.ac.uk
Sun Mar 11 18:20:00 GMT 2018


On Mar 11 2018, Dominique d'Humières wrote:
>> 
>> A question occurring to me after I posted is, Does -fdefault-integer-8 
>> change the values of atomic_int_kind and atomic_logical_kind ?
>
> AFAICT no, otherwise I would have to patch 
> gfortran.dg/coarray/atomic_2.f90.
>
>> I suppose the answer may be hardware-dependent.
>
> Well, does it exist a platform for which the default integer KIND is not 
> 4? or which does not support INTEGER(8)?

I assume that you mean the size in bytes; not all compilers use the size in
bytes for the KIND.

If the former doesn't exist today, it may well in the future.  Indeed, I
would expect it to.


Regards,
Nick Maclaren.



More information about the Fortran mailing list