https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66106
Bug ID: 66106 Summary: ICE on incomplete interface operator block (gfc_op2string) Product: gcc Version: 5.1.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: gerhard.steinmetz.fort...@t-online.de Target Milestone: --- This code snippet with an incomplete interface operator block ... program p interface operator ( .gt. ) end interface operator end or this variation (wrong) ... program p interface operator ( .gt. ) end interface gt end or this variation (wrong) ... program p interface operator ( > ) end interface gt end prints (with gfortran 5.1.1 on SUSE Linux 13.2, 64 bit) f951: internal compiler error: gfc_op2string(): Bad code --- Whereas for example ... subroutine p interface assignment ( = ) end interface assignment end $ gfortran -c snippet.f90 Error: Expected 'END INTERFACE ASSIGNMENT (=)' at (1) Kind regards.