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

--- Comment #16 from Damian Rouson <damian at archaeologic dot codes> ---
(In reply to kargls from comment #12)
> In the new failing example, do 
> you need an 'import tensor_map_t' in the interface block.

No. If 'module function' were replaced with just `function`, then an `import`
statement would be required.  The 'module function' form was added in Fortran
2008 to facilitate writing separate module procedures and interface bodies in
the same scope. The newer form of interface body has accesses entities in the
containing module via host association.

Reply via email to