From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19206 invoked by alias); 22 Nov 2008 09:11:11 -0000 Received: (qmail 8061 invoked by uid 48); 22 Nov 2008 09:09:50 -0000 Date: Sat, 22 Nov 2008 09:11:00 -0000 Message-ID: <20081122090950.8059.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug fortran/37735] Allocatable components in vectors of derived types cause ICE on assignment 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: 2008-11/txt/msg01872.txt.bz2 ------- Comment #2 from pault at gcc dot gnu dot org 2008-11-22 09:09 ------- Oddly, type Path type(Spline), allocatable :: r(:) end type Path compiles OK:-) Given that the ICE is caused by gcc_assert (GFC_DESCRIPTOR_TYPE_P (type)) it must be that the type(Spline) :: r(3), which is definitely not a descriptor type, is incorrectly being treated as if it is. The allocatable component code in trans-array.c is meant to handle this, so there is a coding error somewhere. I'm on to it:-) Paul -- pault at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Last reconfirmed|2008-11-22 09:00:28 |2008-11-22 09:09:50 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37735