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

            Bug ID: 67744
           Summary: polymorphic associating entity is refused TBP
                    invocation
           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 36408
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36408&action=edit
Fortran free form source for test case

The attached test case produces following spurious compile-time error:

assoc_08_pos.f90:41:10:

     call g%write()
          1
Error: VARIABLE attribute of 'g' conflicts with PROCEDURE attribute at (1)

The error persists in more recent versions (trunk).

Reply via email to