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

            Bug ID: 119074
           Summary: Mismatched arguments for external dummy argument not
                    caught
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: tkoenig at gcc dot gnu.org
  Target Milestone: ---

Looking at PR119049, it surprised me that we do not have a formal
argument list check for

subroutine foo (f)
  external :: f
  call f(1)
  call f(1,2)
 end subroutine foo

which we currently accept without error or warning.

Reply via email to