From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28632 invoked by alias); 27 Mar 2010 17:59:48 -0000 Received: (qmail 28607 invoked by uid 48); 27 Mar 2010 17:59:38 -0000 Date: Sat, 27 Mar 2010 17:59:00 -0000 Message-ID: <20100327175938.28606.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug libfortran/43532] Segfault using shape intrinsic function with deferred-shape array In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "pault 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-03/txt/msg02810.txt.bz2 ------- Comment #1 from pault at gcc dot gnu dot org 2010-03-27 17:59 ------- With the function calls interchanged, the problem goes away. ie. with: write (*,*) shape(this%myarray) /= shape(array) ! SEGFAULT I can't see from the code yet why this is happening but can confirm the bug. Paul -- pault at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Last reconfirmed|0000-00-00 00:00:00 |2010-03-27 17:59:38 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43532