https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90986
Bug ID: 90986 Summary: Wrong error message with variables named "EQUIVALENCE*" Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: dominiq at lps dot ens.fr Target Milestone: --- Compiling the following code module mymod type :: mytyp integer :: i end type mytyp contains subroutine mysub implicit none type(mytyp) :: a integer :: equivalencei,equivalencej equivalencei = a%i equivalencej = a%j end subroutine mysub end module mymod with revision r272613 gives 11 | equivalencej = a%j | 1 Error: Syntax error in EQUIVALENCE statement at (1)