Re: [PATCH] Fix Bug 109512 - accepts implicit dummy procedure even with "implicit none (external)"

Jerry D <[email protected]>
Newsgroups gmane.comp.gcc.patches,gmane.comp.gcc.fortran
Message-ID <[email protected]>
Committed.

commit 4d43468377cc6ea907823197dd63428f641c0cd7 (HEAD -> master, origin/master, 
origin/HEAD)
Author: Steven G. Kargl <[email protected]>
Date:   Fri Jan 16 18:09:56 2026 -0800

     Fortran: Fix accepts invalid implicit none (external)

     This patch yields an error for the test case which was
     previously being accepted even though implicit none (external)
     was being specified.

             PR fortran/109512

     gcc/fortran/ChangeLog:

             * resolve.cc (resolve_function): Check if an external
             attribute is required on a call to an external procedure.
             (resolve_call): Likewise.

     gcc/testsuite/ChangeLog:

             * gfortran.dg/pr109512.f90: New test.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.