(Re)allocation of allocatable arrays on assignment - F2003

Dominique Dhumieres dominiq@lps.ens.fr
Tue Nov 2 22:22:00 GMT 2010


Paul,

If it may help, the bounds are correct (-1:2) if the kinds of ia and ib
are the same, but wrong (1:4) if the kinds are different (I have checked
2 vs. 4, and 8 vs. 4).

If it rings some bell for you, these codelets were leftover of experiments
with bounds for derived types (there is probably at least one pr closed
for it).

Hoping for the patch!-)

Dominique



More information about the Fortran mailing list