http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57965
Bug ID: 57965 Summary: Allocation of derived type containing an allocatable character component segfaults Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: ole.schuett at mat dot ethz.ch The following program compiles fine with gfortran 4.7.2, but when executed it segfaults. program crash TYPE mytype CHARACTER(LEN=42), ALLOCATABLE :: str_value END TYPE mytype TYPE(mytype), POINTER :: a => Null() ALLOCATE(a) end program crash