https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79434
Bug ID: 79434 Summary: [submodules] separate module procedure breaks encapsulation Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: Bader at lrz dot de Target Milestone: --- Created attachment 40698 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40698&action=edit test case The attached code (a much simplified version of a bug report on the Intel software forums) illustrate that the current submodule implementation does not respect type component encapsulation.