From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10504 invoked by alias); 5 Jan 2006 16:38:51 -0000 Received: (qmail 10493 invoked by uid 48); 5 Jan 2006 16:38:50 -0000 Date: Thu, 05 Jan 2006 16:38:00 -0000 Subject: [Bug fortran/25681] New: Segmentation fault, when accessing len(attribute) of multidimensional object X-Bugzilla-Reason: CC Message-ID: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "Heiko dot Klein at gmx dot net" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2006-01/txt/msg00510.txt.bz2 List-Id: Accessing something like len(f_2d%class) where f_2d is a multidimensional object gives a segmentation fault in the compiler. Example: module testLen implicit none public :: Derived type, public:: Deriv character(len=9) :: class end type Deriv type(Deriv), private, dimension(2) :: f_2d contains subroutine Derived() character(len=len(f_2d%class)) :: typ ! See defs of f_2d typ = "Hallo " end subroutine Derived end module testLen -- Summary: Segmentation fault, when accessing len(attribute) of multidimensional object Product: gcc Version: 4.0.2 Status: UNCONFIRMED Severity: critical Priority: P3 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: Heiko dot Klein at gmx dot net GCC build triplet: i686-pc-linux-gnu GCC host triplet: i686-pc-linux-gnu GCC target triplet: i686-pc-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25681