gfortran just asked me to report this. See at the end of the messages reported. I attached getopt_long.F03.
[lluvia@parabola parse]$ LANG=en gfortran getopt_long.F03
type(getopt_type), pointer :: self
Error: Symbol 'self' at (1) already has basic type of REAL
integer, intent(in) :: argn
Error: Symbol 'argn' at (1) already has basic type of REAL
argv = self%argv(argn)%string(1)(1:len(argv))
Error: Unclassifiable statement at (1)
Error: Type mismatch in argument 'self' at (1); passed REAL to TYPE
f951: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <https://labs.parabola.nu/> for instructions.
Updated by lluvia over 6 years ago
gfortran people says that it will be probably solved for gfortran 4.9