From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5467 invoked by alias); 13 Dec 2010 10:33:20 -0000 Received: (qmail 5456 invoked by uid 22791); 13 Dec 2010 10:33:19 -0000 X-SWARE-Spam-Status: No, hits=-2.8 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from localhost (HELO gcc.gnu.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 13 Dec 2010 10:33:15 +0000 From: "kapinos at rz dot rwth-aachen.de" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/46874] [OpenMP] ICE in gfc_conv_descriptor_data_get, at fortran/trans-array.c:147 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Keywords: openmp X-Bugzilla-Severity: normal X-Bugzilla-Who: kapinos at rz dot rwth-aachen.de X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Date: Mon, 13 Dec 2010 10:33:00 -0000 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-12/txt/msg01378.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46874 --- Comment #3 from Paul 2010-12-13 10:33:02 UTC --- Yes, the OpenMP Standard changed from 2.5 to 3.0 an describing reductions: 2.5: Fortran pointers, Cray pointers, assumed-size arrays and allocatable arrays may not appear in a reduction clause. 3.0: An original list item with the ALLOCATABLE attribute must be in the allocated state at entry to the construct containing the reduction clause. Additionally, the list item must not be deallocated and/or allocated within the region. Fortran pointers, Cray pointers and assumed-size arrays may not appear in a reduction clause. and even more: be avare of changing this points regarding the REDUCTION clause again. Such-called "User Definded Reductions" are in discussion now.