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
- From: dominiq at lps dot ens dot fr (Dominique Dhumieres)
- To: paul dot richard dot thomas at gmail dot com, dominiq at lps dot ens dot fr
- Cc: gcc-patches at gcc dot gnu dot org, fortran at gcc dot gnu dot org, burnus at net-b dot de
- Date: Tue, 02 Nov 2010 23:22:20 +0100
- Subject: Re: (Re)allocation of allocatable arrays on assignment - F2003
- References: <20101009134002.157E83BE0F@mailhost.lps.ens.fr> <AANLkTinUrNM2PSQdAoCb=PGEhNtyvx5-Czke8hKcCbJb@mail.gmail.com> <20101023202653.2DF9D3BE18@mailhost.lps.ens.fr> <AANLkTimcyDC-qh43tOCkaWwfsT2_RsW3MfZ3ChQRj3zp@mail.gmail.com> <4CC47A12.7050504@net-b.de> <AANLkTi=mxWu9dUeBrvgGeVeTMuB4DD=pEJnnsKxVMaKZ@mail.gmail.com> <20101031215043.8B69A3BE18@mailhost.lps.ens.fr> <AANLkTim-ZGfmRmkbbq4rh9i_QwVxp3VJkQx9oJkWe6OQ@mail.gmail.com> <20101101101824.F0F663BE18@mailhost.lps.ens.fr> <AANLkTimWL3E+T6WDkihuo3PS9qVg_e6qgG+cE_Yz-VFG@mail.gmail.com>
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