On 2013-02-04 10:13 PM, \"Vladimír Fuka <\"name.surname at >> wrote:
>
> Hello, what is the correct result of assigning a zero sized array to an
> allocatable array? When F2003 reallocation is enabled, gfortran 4.7.1
> deallocates the array, whereas Intel Fortran 13 leaves the array as
> allocated to zero size.
>
> Vladimir
The variable on the left hand side of the assignment should come out
allocated to zero size, lower bound of one, same dynamic type and
deferred parameters of the right hand side expression.