https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86278
Bug ID: 86278 Summary: gfortran crashes with internal compiler error: segmentation fault Product: gcc Version: 7.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: oivulf at gmail dot com Target Milestone: --- While compiling the lapw code "exciting": http://exciting-code.org/ gfortran crashes with segmentation fault. The first crashing point is: fox_m_fsys_format.F90:1289:0: if (.not.checkFmt(fmt)) then internal compiler error: Segmentation fault If I move the definition of checkFmt before its first call compilation proceeds without any issue up to another module, where the same operation is needed. The code is gpl and available for download at the same site. Thank you Fulvio Ciriaco