From owner-sc22wg5@open-std.org  Wed Dec  3 19:24:02 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 6C1F6C56CF8; Wed,  3 Dec 2008 19:24:02 +0100 (CET)
X-Original-To: sc22wg5@open-std.org
Delivered-To: sc22wg5@open-std.org
Received: from nspiron-2.llnl.gov (nspiron-2.llnl.gov [128.115.41.82])
	by www2.open-std.org (Postfix) with ESMTP id A683CC178DC
	for <sc22wg5@open-std.org>; Wed,  3 Dec 2008 19:24:00 +0100 (CET)
X-Attachments: None
Received: from cyrus2.llnl.gov ([128.15.97.105])
  by nspiron-2.llnl.gov with ESMTP; 03 Dec 2008 10:23:58 -0800
From: Aleksandar Donev <donev1@llnl.gov>
Organization: LLNL
To: sc22wg5 <sc22wg5@open-std.org>
Subject: Re: (j3.2006) (SC22WG5.3708)   Comment on N1761
User-Agent: KMail/1.9.4
References: <20081127195627.3CEA7C178D6@www2.open-std.org> <200812021000.58528.donev1@llnl.gov> <20081203132148.DA084C178E0@www2.open-std.org>
In-Reply-To: <20081203132148.DA084C178E0@www2.open-std.org>
MIME-Version: 1.0
Content-Disposition: inline
X-UID: 6164
Date: Wed, 3 Dec 2008 10:23:58 -0800
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Message-Id: <200812031023.58777.donev1@llnl.gov>
Sender: owner-sc22wg5@open-std.org
Precedence: bulk

On Wednesday 03 December 2008 05:21, Reinhold Bader wrote:

> It is not accepted by NAG's compiler, and also not by IBM xlf. NAG's error
> message is
>
> Error: label_interf.f90: Duplicate binding label 'Foo' for external
> procedure FOO_2 and external procedure FOO_1
>
> which references the rules given in clause 16.1.
Some time ago I filed an interp request for this. The rules in 16 indeed make 
the example non-conforming, but I expected that this makes zero sense and was 
thus unintended and should be fixed. The official interp response was that it 
was intended.

On Wednesday 03 December 2008 08:29, Bill Long wrote:
> However, in the case of a separate binding label, that rule is being
> changed in Fortran 2008 to be the way you want it. If there is a
> separate binding label then the procedure's name becomes a local name,
> not external.
Can someone please point me to the history (paper numbers) of this. I have 
missed it, even though I supposedly argued for it at length and thought I 
lost the fight. I am delighted to hear it is being changed but need to read 
up to understand exactly what changed.

I would urge compilers to implement the change ASAP (if they already implement 
Interop), especially since it essentially eliminates a needless restriction 
that is rather hurteful to programmers.

Thanks,
Aleks

-- 
Aleksandar Donev, Ph.D.
Lawrence Postdoctoral Fellow @ Lawrence Livermore National Laboratory
High Performance Computational Materials Science and Chemistry
E-mail: donev1@llnl.gov
Phone: (925) 424-6816  Fax: (925) 423-0785
Address: P.O.Box 808, L-367, Livermore, CA 94551-9900
Web: http://cherrypit.princeton.edu/donev
