The first error below is expected, but the second one should not be printed out that way :)
$ cat translation_tests.f90 module foo end module foo program test use foo, only : bar, operator(.none.) end program test $ gfortran translation_tests.f90 translation_tests.f90:5.17: use foo, only : bar, operator(.none.) 1 Error: Symbol 'bar' referenced at (1) not found in module 'foo' translation_tests.f90:5.39: use foo, only : bar, operator(.none.) 1 Internal Error at (1): gfc_code2string(): Bad code -- Summary: ICE on bad operator in ONLY clause of USE statement Product: gcc Version: 4.3.0 Status: UNCONFIRMED Keywords: ice-on-invalid-code, diagnostic Severity: normal Priority: P3 Component: fortran AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: fxcoudert at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29876