https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82992
Bug ID: 82992 Summary: ICE in create_int_parameter_array, at fortran/module.c:6586 Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: gs...@t-online.de Target Milestone: --- With invalid code : $ cat z1.f90 subroutine sub (x) use iso_fortran_env, only: x => character_kinds end $ gfortran-8-20171112 -c z1.f90 f951: internal compiler error: Segmentation fault 0xb61c7f crash_signal ../../gcc/toplev.c:325 0x6ca002 create_int_parameter_array ../../gcc/fortran/module.c:6586 0x6caaf3 use_iso_fortran_env_module ../../gcc/fortran/iso-fortran-env.def:100 0x6cffb7 gfc_use_module ../../gcc/fortran/module.c:6938 0x6d1636 gfc_use_modules() ../../gcc/fortran/module.c:7178 0x6df7dc use_modules ../../gcc/fortran/parse.c:114 0x6e3494 decode_statement ../../gcc/fortran/parse.c:332 0x6e5354 next_free ../../gcc/fortran/parse.c:1225 0x6e5354 next_statement ../../gcc/fortran/parse.c:1457 0x6e6c3c parse_spec ../../gcc/fortran/parse.c:3834 0x6e9133 parse_progunit ../../gcc/fortran/parse.c:5637 0x6eaa04 gfc_parse_file() ../../gcc/fortran/parse.c:6184 0x72f13f gfc_be_parse_file ../../gcc/fortran/f95-lang.c:204