https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105547
Bug ID: 105547 Summary: No further "Unclassifiable statement" after the first one if multiple syntax errors. Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: mikael at gcc dot gnu.org Target Milestone: --- Testcase as reported by Harald here: https://gcc.gnu.org/pipermail/fortran/2022-May/057841.html subroutine a errorstop end subroutine b errorstop end This gives only one error as output instead of two: xxx.f90:2:3: 2 | errorstop | 1 Error: Unclassifiable statement at (1)