https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67743

            Bug ID: 67743
           Summary: Associating entity is not auto-typed
           Product: gcc
           Version: 5.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: Bader at lrz dot de
  Target Milestone: ---

Created attachment 36407
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36407&action=edit
Fortran free form source for test case

The attached test case generates the following spurious error messages on
compilation:

assoc_04_pos.f90:28:10:

     if (g%geti() == 2) then
          1
Error: Symbol 'g' at (1) has no IMPLICIT type
assoc_04_pos.f90:30:8:

     else
        1
Error: Unexpected ELSE statement at (1)
assoc_04_pos.f90:32:7:

     end if
       1
Error: Expecting END ASSOCIATE statement at (1)

The error appears to persist in the trunk.

Reply via email to