This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: Array Descriptor Update
- From: Paul Thomas <paul dot richard dot thomas at gmail dot com>
- To: Fortran List <fortran at gcc dot gnu dot org>
- Date: Fri, 26 Sep 2008 15:11:18 +0200
- Subject: Re: Array Descriptor Update
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=h1I8m2VlFLj/lOsAQ+zFBU3H2t3yCzWFqvetXmBUq/4=; b=umGc6bTwXRA8k324NtaFywKnKE3ptVsA9occTongXvd0tinsqKVvMu8LnmTtC1mkhI vjDCtUqORhqmKlORtv2xuceIm09VKH1JVyclapiZrnItCrnvLLrARyy1MMCOY0F3MvHl HtsX6+3DqBsBJrladi2lo0Lr/xbyRHSl3GMcw=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=samyFNeyYdWfbKimFn1TjCodx48z1Un3jh8bOOToQbmBYCVPyPAMelb2ZP7BsajlTj VLIXZzNfEkWGeVa9k39vNAFsDOYLfyaGj20+kERmr9tXssjOBZ9Jl1ovNQmp10ml+34Y 9l3OJDYkPw002lF9bAmq+wzLd5c64j5TIxoV4=
- References: <339c37f20809260124x5a67b443refd1b623863086e@mail.gmail.com>
Dear All,
One thing that is noticable about the Intel and the Pathscale
descriptors is that they carry no type or kind information, whereas
gfortran packs this into the DTYPE word. I started looking to see if
gfortran uses this descriptor information anywhere and so far have
drawn a blank; admittedly on a not very thorough search. In addition,
I have not seen any use of the size information either. Does anybody
know if it is used anywhere?
I went through the library and could not see anywhere that DTYPE was
used for anything other than consistency.
We could do this job in two stages:
(i) Revamp the descriptor but keep gfc_dimension the same; and
(ii) Update gfc_dimension.
Most of the work is in (ii)... :-)
This has the disadvantage of two API changes but might be more within
our capabilities.
Cheers
Paul