https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70863
Bug ID: 70863 Summary: Finalization of array of derived type causes segfault Product: gcc Version: 6.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: weiqun.zhang at gmail dot com Target Milestone: --- Created attachment 38370 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=38370&action=edit A program demonstrating the problem. In the attached program, there is a derived type named c, which contains an array of derived type b. The finalization of a c object causes segfault.