From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27795 invoked by alias); 21 Jul 2010 09:03:35 -0000 Received: (qmail 24290 invoked by uid 48); 21 Jul 2010 09:03:20 -0000 Date: Wed, 21 Jul 2010 09:03:00 -0000 Message-ID: <20100721090320.24289.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug fortran/29785] Fortran 2003: POINTER Rank Remapping In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "burnus at gcc dot gnu dot org" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2010-07/txt/msg02186.txt.bz2 ------- Comment #4 from burnus at gcc dot gnu dot org 2010-07-21 09:03 ------- Fortran 2008 has the following, which I missed to quote: "If bounds-remapping-list is specified, the pointer target shall be simply contiguous (6.5.4) or of rank one. It shall not be a disassociated or undefined pointer, and the size of the pointer target shall not be less than the size of the pointer object. The elements of the target of the pointer object, in array element order (6.5.3.2), are the first SIZE (data-pointer-object) elements of the pointer target." "C717 (R733) If bounds-remapping-list is specified, the number of bounds-remappings shall equal the rank of data-pointer-object." -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29785