https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69636
Bug ID: 69636 Summary: ICE(s) on using option -fmodule-private Product: gcc Version: 6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: gerhard.steinmetz.fort...@t-online.de Target Milestone: --- A validation run with option -fmodule-private exposes a few problems when running on test files from ./gcc/testsuite/gfortran.dg/ $ gfortran-6 -fmodule-private -c function_kinds_3.f90 f951: internal compiler error: in gfc_convert_chartype, at fortran/intrinsic.c:4812 $ gfortran-6 -fmodule-private -c entry_16.f90 f951: internal compiler error: Unable to find symbol ‘cx_radc’ $ gfortran-6 -fmodule-private -c associate_6.f03 f951: internal compiler error: find_array_spec(): Missing spec And, respectively : f951: internal compiler error: Segmentation fault $ gfortran-6 -fmodule-private -c derived_external_function_1.f90 $ gfortran-6 -fmodule-private -c derived_function_interface_1.f90 $ gfortran-6 -fmodule-private -c function_kinds_1.f90 $ gfortran-6 -fmodule-private -c function_types_2.f90 $ gfortran-6 -fmodule-private -c typebound_operator_9.f03