http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46344
Summary: [OOP] ICE with allocatable CLASS components Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran AssignedTo: unassig...@gcc.gnu.org ReportedBy: ja...@gcc.gnu.org Test case: module mld_d_prec_type type mld_d_base_solver_type end type mld_d_base_solver_type type mld_d_base_smoother_type class(mld_d_base_solver_type), allocatable :: sv end type mld_d_base_smoother_type type mld_donelev_type class(mld_d_base_smoother_type), allocatable :: sm end type mld_donelev_type end module mld_d_prec_type program ppde use mld_d_prec_type implicit none type(mld_donelev_type), allocatable :: precv(:) allocate(precv(1)) end program ppde This produces an ICE (segfault) with current trunk. Reported by Salvatore Fillipone.