From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28803 invoked by alias); 19 Mar 2006 17:15:52 -0000 Received: (qmail 28789 invoked by uid 48); 19 Mar 2006 17:15:50 -0000 Date: Sun, 19 Mar 2006 17:15:00 -0000 Message-ID: <20060319171550.28788.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug fortran/25681] ICE with len of array of derived type In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "jb at gcc dot gnu dot org" 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-03/txt/msg01939.txt.bz2 List-Id: ------- Comment #5 from jb at gcc dot gnu dot org 2006-03-19 17:15 ------- An even more reduced testcase is program char_type_len type foo_t character ( LEN = 80 ) :: bar (1) end type foo_t type(foo_t) :: foo print *, len (foo%bar) end program char_type_len I.e. it's not necessary for the "foo" variable to be a pointer. This bug is one of the issues preventing cp2k from compiling. I get this error in timings.f90:335. -- jb at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jb at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25681