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

            Bug ID: 96839
           Summary: gfortran thinks common_bits starts a common block
           Product: gcc
           Version: 8.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: w.clodius at icloud dot com
  Target Milestone: ---

Created attachment 49151
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49151&action=edit
A reduced code illustrating the problem.

If I have both a member function named bits and an attribute named bits, a
combination that is illegal, gfortran 8.1 gets confused and thinks common_bits
starts a common block. It took me a while to understand the cause of the error
message.

Reply via email to