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

            Bug ID: 109512
           Summary: accepts implicit dummy procedure even with "implicit
                    none (external)"
           Product: gcc
           Version: 12.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: sebastien at debian dot org
  Target Milestone: ---

gfortran compiles the following source without error:

subroutine foo(bar)
  implicit none (external)
  call bar(1)
end subroutine foo

However my understanding is that it should reject it, because "bar" is an
implicit dummy procedure, which is forbidden by "implicit none (external)".

Note that this is not the same issue as Bug 100972, which was not about dummy
procedures.

Reply via email to