From owner-sc22wg5+sc22wg5-dom8=www.open-std.org@open-std.org  Thu Mar 15 19:47:54 2012
Return-Path: <owner-sc22wg5+sc22wg5-dom8=www.open-std.org@open-std.org>
X-Original-To: sc22wg5-dom8
Delivered-To: sc22wg5-dom8@www.open-std.org
Received: by www.open-std.org (Postfix, from userid 521)
	id 32A9F35696A; Thu, 15 Mar 2012 19:47:54 +0100 (CET)
Delivered-To: sc22wg5@open-std.org
Received: from mail.jpl.nasa.gov (smtp.jpl.nasa.gov [128.149.139.105])
	by www.open-std.org (Postfix) with ESMTP id 55E28356637
	for <sc22wg5@open-std.org>; Thu, 15 Mar 2012 19:47:52 +0100 (CET)
Received: from [137.79.7.57] (math.jpl.nasa.gov [137.79.7.57])
	by smtp.jpl.nasa.gov (Switch-3.4.3/Switch-3.4.3) with ESMTP id q2FIljZo024978
	(using TLSv1/SSLv3 with cipher DHE-RSA-AES256-SHA (256 bits) verified NO);
	Thu, 15 Mar 2012 11:47:46 -0700
Subject: Re: (j3.2006) (SC22WG5.4649) [ukfortran]  AW: Vote on N1904
From: Van Snyder <Van.Snyder@jpl.nasa.gov>
Reply-To: Van.Snyder@jpl.nasa.gov
To: WG5 <sc22wg5@open-std.org>, "rabenseifner@hlrs.de" <rabenseifner@hlrs.de>
In-Reply-To: <20120315010351.255249DB118@www.open-std.org>
References: <20120312152923.857DB9DB112@www.open-std.org>
	 <20120314164259.A5DD4356A46@www.open-std.org>
	 <20120314215009.D830F9DB112@www.open-std.org>
	 <20120314225736.EE474356A42@www.open-std.org>
	 <20120315010351.255249DB118@www.open-std.org>
Content-Type: text/plain
Organization: Yes
Date: Thu, 15 Mar 2012 11:47:45 -0700
Message-Id: <1331837265.16302.232.camel@math.jpl.nasa.gov>
Mime-Version: 1.0
X-Mailer: Evolution 2.12.3 (2.12.3-19.el5) 
Content-Transfer-Encoding: 7bit
X-Source-IP: math.jpl.nasa.gov [137.79.7.57]
X-Source-Sender: Van.Snyder@jpl.nasa.gov
X-AUTH: Authorized
Sender: owner-sc22wg5@open-std.org
Precedence: bulk


On Wed, 2012-03-14 at 18:03 -0700, Malcolm Cohen wrote:
> In fact, because we want to pass TYPE(*) except for
> alloc/ptr/ass-shape/ass-rank to a BIND(C) routine as a plain address
> [because it's much too much work for the user to type "C_LOC(...)"!],
> and this will necessarily exclude the type info, it appears to be the
> only restriction that will actually work at all.

Since c_loc(...) seems to do everything that TYPE(*) is intended to do,
why do we have TYPE(*)?  The only disadvantages are that the argument of
c_loc needs to be a variable with the TARGET or POINTER attribute.


