https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69603
Bug ID: 69603 Summary: ICE: segfault with -fimplicit-none and proc_ptr_comp_24.f90 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: --- While playing around, one example from ./gcc/testsuite/gfortran.dg/ together with option -fimplicit-none segfaults : $ gfortran-6 -fimplicit-none -c proc_ptr_comp_24.f90 f951: internal compiler error: Segmentation fault $ gfortran-5.3.1 -fimplicit-none -c proc_ptr_comp_24.f90 f951: internal compiler error: Segmentation fault Whereas, no error/ICE with : $ gfortran-6 -c proc_ptr_comp_24.f90 $ gfortran-5.3.1 -c proc_ptr_comp_24.f90 Example originates to pr42045.