From owner-sc22wg5@open-std.org  Sun Feb  7 21:53:05 2010
Return-Path: <owner-sc22wg5@open-std.org>
X-Original-To: sc22wg5-dom8
Delivered-To: sc22wg5-dom8@www2.open-std.org
Received: by www2.open-std.org (Postfix, from userid 521)
	id 08CF0C3BA2A; Sun,  7 Feb 2010 21:53:05 +0100 (CET)
X-Original-To: sc22wg5@open-std.org
Delivered-To: sc22wg5@open-std.org
Received: from ppsw-6.csi.cam.ac.uk (ppsw-6.csi.cam.ac.uk [131.111.8.136])
	by www2.open-std.org (Postfix) with ESMTP id 4DB56C3BA29
	for <sc22wg5@open-std.org>; Sun,  7 Feb 2010 21:53:03 +0100 (CET)
X-Cam-AntiVirus: no malware found
X-Cam-SpamDetails: not scanned
X-Cam-ScannerInfo: http://www.cam.ac.uk/cs/email/scanner/
Received: from hermes-2.csi.cam.ac.uk ([131.111.8.54]:53207)
	by ppsw-6.csi.cam.ac.uk (smtp.hermes.cam.ac.uk [131.111.8.156]:25)
	with esmtpa (EXTERNAL:nmm1) id 1NeE7r-0003g9-K2 (Exim 4.70)
	(return-path <nmm1@hermes.cam.ac.uk>); Sun, 07 Feb 2010 20:53:03 +0000
Received: from prayer by hermes-2.csi.cam.ac.uk (hermes.cam.ac.uk)
	with local (PRAYER:nmm1) id 1NeE7r-0003QT-6L (Exim 4.67)
	(return-path <nmm1@hermes.cam.ac.uk>); Sun, 07 Feb 2010 20:53:03 +0000
Received: from [83.67.89.123] by webmail.hermes.cam.ac.uk
	with HTTP (Prayer-1.3.2); 07 Feb 2010 20:53:03 +0000
Date: 07 Feb 2010 20:53:03 +0000
From: "N.M. Maclaren" <nmm1@cam.ac.uk>
To: Reinhold Bader <Reinhold.Bader@lrz.de>
Cc: sc22wg5 <sc22wg5@open-std.org>
Subject: Re: (SC22WG5.4164) Please say this isn't allowed!
Message-ID: <Prayer.1.3.2.1002072053030.8126@hermes-2.csi.cam.ac.uk>
In-Reply-To: <4B6F24CD.80200@lrz.de>
References: <20100206000326.EB642C3BA22@www2.open-std.org>
 <20100207193242.EDEE6C3BA07@www2.open-std.org>
 <4B6F24CD.80200@lrz.de>
X-Mailer: Prayer v1.3.2
Mime-Version: 1.0
Content-Type: text/plain; format=flowed; charset=ISO-8859-1
Sender: owner-sc22wg5@open-std.org
Precedence: bulk

On Feb 7 2010, Reinhold Bader wrote:
>
>referring to the 2003 standard, I think this is illegal due to 12.4.1.2 
>(p270,  20-22).:
>"If the dummy argument has the TARGET attribute and the corresponding 
>actual argument does not
>have the TARGET attribute or is an array section with a vector 
>subscript, any pointers associated with
>the dummy argument become undefined when execution of the procedure 
>completes."

Thanks very much.  I should have found that!  I was thinking along the
wrong lines.


Regards,
Nick Maclaren.

