From owner-sc22wg5@open-std.org  Fri Nov 14 10:47:56 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 DF71BCA5FF4; Fri, 14 Nov 2008 10:47:56 +0100 (CET)
X-Original-To: sc22wg5@open-std.org
Delivered-To: sc22wg5@open-std.org
Received: from sca-es-mail-2.sun.com (sca-es-mail-2.Sun.COM [192.18.43.133])
	by www2.open-std.org (Postfix) with ESMTP id 7322BCA343B
	for <sc22wg5@open-std.org>; Fri, 14 Nov 2008 10:47:51 +0100 (CET)
Received: from fe-sfbay-09.sun.com ([192.18.43.129])
	by sca-es-mail-2.sun.com (8.13.7+Sun/8.12.9) with ESMTP id mAE9lihp019675
	for <sc22wg5@open-std.org>; Fri, 14 Nov 2008 01:47:44 -0800 (PST)
Received: from conversion-daemon.fe-sfbay-09.sun.com by fe-sfbay-09.sun.com
 (Sun Java System Messaging Server 6.2-8.04 (built Feb 28 2007))
 id <0KAB00I01HSLGX00@fe-sfbay-09.sun.com>
 (original mail from Robert.Corbett@Sun.COM) for sc22wg5@open-std.org; Fri,
 14 Nov 2008 01:47:44 -0800 (PST)
Received: from [129.146.84.104] by fe-sfbay-09.sun.com
 (Sun Java System Messaging Server 6.2-8.04 (built Feb 28 2007))
 with ESMTPSA id <0KAB00EAPHVJC9B0@fe-sfbay-09.sun.com>; Fri,
 14 Nov 2008 01:47:44 -0800 (PST)
Date: Fri, 14 Nov 2008 01:47:43 -0800
From: Robert Corbett <Robert.Corbett@Sun.COM>
Subject: Re: (j3.2006) (SC22WG5.3683) [ukfortran] N1755:	Request	for	new
	features from MPI Forum
In-reply-to: <20081114030610.02C55CA343B@www2.open-std.org>
To: fortran standards email list for J3 <j3@j3-fortran.org>
Cc: WG5 <sc22wg5@open-std.org>
Reply-To: Robert.Corbett@Sun.COM
Message-id: <491D493F.8000406@sun.com>
Organization: Sun Microsystems, Inc.
MIME-version: 1.0
Content-type: text/plain; format=flowed; charset=us-ascii
Content-transfer-encoding: 7BIT
X-Accept-Language: en-us, en
References: <49137AD3.1070402@lrz.de>
 <20081111224927.8201CC178D9@www2.open-std.org>
 <20081111234923.517C5C178D6@www2.open-std.org>
 <20081112001017.26EB3C178D6@www2.open-std.org>
 <20081112091351.6581CC178D9@www2.open-std.org> <491BCB6F.8040406@sun.com>
 <20081113072205.9063AC178D9@www2.open-std.org> <491BDF12.8050108@sun.com>
 <491CD5CB.4030003@cray.com> <20081114021049.6CFDEC178D6@www2.open-std.org>
 <20081114030610.02C55CA343B@www2.open-std.org>
User-Agent: Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.7.13) Gecko/20060509
Sender: owner-sc22wg5@open-std.org
Precedence: bulk

Malcolm Cohen wrote:
> 
> Robert Corbett continues to complain about PROTECTED.
> 
> Well, excuse me if we thought users would prefer to be able to pass 
> PROTECTED variables to INTENT(IN) dummy arguments.  It's not 
> unreasonable to provide something less safe instead of providing 
> something that's perfectly safe but in practice is nearly useless.

It just occurred to me that all you are saying would make sense if
the standard prohibited variables with the PROTECTED attribute from
being passed as actual arguments to procedures unless the corresponding
dummy arguments have the attribute INTENT(IN).  If the standard does
impose such a restriction, I would very much like to where to find it.

Bob Corbett
