From owner-sc22wg5@open-std.org  Thu Dec  4 00:16:40 2008
Return-Path: <owner-sc22wg5@open-std.org>
X-Original-To: sc22wg5-dom7
Delivered-To: sc22wg5-dom7@www2.open-std.org
Received: by www2.open-std.org (Postfix, from userid 521)
	id 9813DCA5FE4; Thu,  4 Dec 2008 00:16:40 +0100 (CET)
X-Original-To: sc22wg5@open-std.org
Delivered-To: sc22wg5@open-std.org
Received: from mail1.cray.com (mail1.cray.com [136.162.0.111])
	by www2.open-std.org (Postfix) with ESMTP id 8D639C56CF8
	for <sc22wg5@open-std.org>; Thu,  4 Dec 2008 00:16:38 +0100 (CET)
Received: from beaver.us.cray.com (beaver.us.cray.com [172.30.74.51])
	by mail1.cray.com (8.13.6/8.13.3/gw-5323) with ESMTP id mB3NGaCc017011
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK);
	Wed, 3 Dec 2008 17:16:37 -0600 (CST)
Received: from CFEXFE01.us.cray.com (cfexfe01.us.cray.com [172.30.74.93])
	by beaver.us.cray.com (8.13.8/8.13.3/hub-5273) with ESMTP id mB3NGZrb018297;
	Wed, 3 Dec 2008 17:16:35 -0600
Received: from mh-dhcp-172-31-16-160.us.cray.com ([172.31.16.160]) by CFEXFE01.us.cray.com over TLS secured channel with Microsoft SMTPSVC(6.0.3790.3959);
	 Wed, 3 Dec 2008 17:16:36 -0600
Message-ID: <493713D3.8070803@cray.com>
Date: Wed, 03 Dec 2008 17:18:43 -0600
From: Bill Long <longb@cray.com>
Reply-To: longb@cray.com
Organization: Cray Inc.
User-Agent: Thunderbird 2.0.0.9 (Macintosh/20071031)
MIME-Version: 1.0
To: fortran standards email list for J3 <j3@j3-fortran.org>
Cc: WG5 <sc22wg5@open-std.org>
Subject: Re: (j3.2006) (SC22WG5.3722) [ukfortran] the interoperability TR
 -	an	alternative descriptor design
References: <20081127193527.EF00DC178D9@www2.open-std.org>	<20081203201442.A4A53C4596D@www2.open-std.org>	<20081203213339.24892C56CF8@www2.open-std.org>	<20081203214646.AA01DC56CF8@www2.open-std.org> <20081203225033.E1D86C4596D@www2.open-std.org>
In-Reply-To: <20081203225033.E1D86C4596D@www2.open-std.org>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-OriginalArrivalTime: 03 Dec 2008 23:16:36.0031 (UTC) FILETIME=[30001CF0:01C9559D]
X-Cray-VirusStatus: clean
Sender: owner-sc22wg5@open-std.org
Precedence: bulk



N.M. Maclaren wrote:
> On Dec 3 2008, Aleksandar Donev wrote:
>   
>>> If the objective is to handle
>>> solely assumed-shape, allocatable and pointer types of intrinsic element
>>> or target types
>>>       
>> You mean "interoperable types" (intrinsic or derived)---this is what 
>> N1761 is meant to address?
>>     
>
> No, I meant what I said.  N1761 addresses solely the cases where the
> arguments are arrays of intrinsic element types, or pointers to intrinsic
> types.  It may be intended to address more, but I do not think that it
> does.
>   

The arguments need to have interoperable types, but they can be either 
arrays are scalars (in the case of allocatable or pointer).  There is no 
restriction that they be intrinsic types.  Interoperable derived types - 
a concept already defined in Fortran 2003 -  are also supported, either 
scalars or arrays.  The new proposal adds interoperability of interfaces 
with dummy arguments that have the allocatable or pointer attribute, or 
are assumed-shape.  They allowed types of the arguments include all the 
ones already supported.  If you can show me where in N1761 it says that 
derived types are not supported, I'll be happy to fix the text.

Cheers,
Bill


> And my proposal doesn't handle derived types properly, either, but that can
> be solved in the same way that IBM PL/I on the System/370 did.  Anyway, that
> will probably have to wait until late January.
>
>
> Regards,
> Nick Maclaren,
> University of Cambridge Computing Service,
> New Museums Site, Pembroke Street, Cambridge CB2 3QH, England.
> Email:  nmm1@cam.ac.uk
> Tel.:  +44 1223 334761    Fax:  +44 1223 334679
>
>
> _______________________________________________
> J3 mailing list
> J3@j3-fortran.org
> http://j3-fortran.org/mailman/listinfo/j3
>   

-- 
Bill Long                                   longb@cray.com
Fortran Technical Support    &              voice: 651-605-9024
Bioinformatics Software Development         fax:   651-605-9142
Cray Inc., 1340 Mendota Heights Rd., Mendota Heights, MN, 55120

            

