While compiling the lapw code "exciting": http://exciting-code.org/ gfortran crashes with segmentation fault.
The first crashing point is:
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.
This issues has been fixed on all active branches. You either need to build gfortran from sources or wait for the release of gfortran 7.4.