>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