From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26575 invoked by alias); 12 Feb 2005 16:34:17 -0000 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 Received: (qmail 26534 invoked by uid 48); 12 Feb 2005 16:34:10 -0000 Date: Sat, 12 Feb 2005 21:14:00 -0000 From: "sgk at troutmask dot apl dot washington dot edu" To: gcc-bugs@gcc.gnu.org Message-ID: <20050212163408.19929.sgk@troutmask.apl.washington.edu> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug fortran/19929] New: Deallocation of an allocated derived type component causes failure X-Bugzilla-Reason: CC X-SW-Source: 2005-02/txt/msg01203.txt.bz2 List-Id: >>From Richard Maine, editor of the F2003 standard subroutine close_th_read_unc3 type :: unc3_ptr_type integer, pointer :: unc3 end type type(unc3_ptr_type) :: unc3_ptrs(10) allocate(unc3_ptrs(2)%unc3) deallocate(unc3_ptrs(2)%unc3) end subroutine close_th_read_unc3 bug5.f90: In function 'close_th_read_unc3': bug5.f90:6: internal compiler error: in gfc_conv_descriptor_data, at fortran/trans-array.c:181 Interestingly, the allocate is fine; only the deallocate crumps. -- Summary: Deallocation of an allocated derived type component causes failure Product: gcc Version: 4.0.0 Status: UNCONFIRMED Severity: normal Priority: P2 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: sgk at troutmask dot apl dot washington dot edu CC: gcc-bugs at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19929