This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: (Re)allocation of allocatable arrays on assignment - F2003
Dominique,
It segfaults for me :-(
Cheers and thanks
Paul
On Tue, Oct 26, 2010 at 5:22 PM, Dominique Dhumieres <dominiq@lps.ens.fr> wrote:
> Paul,
>
> Another problem with the addition of
>
> c=a(3:8)+b(52:57)
> print *, c
> print *, lbound(c), ubound(c)
>
> the sum is correct, but the size is not (8 elements) nor the bounds 2:9
> (note that I don't know if this piece of cod is valid).
>
> Dominique
>
--
The knack of flying is learning how to throw yourself at the ground and miss.
? ? ?? --Hitchhikers Guide to the Galaxy