https://gcc.gnu.org/bugzilla/show_bug.cgi?id=123208
Mikael Morin <mikael at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords|rejects-valid |
Status|UNCONFIRMED |RESOLVED
Known to fail|15.2.0 |
Resolution|--- |INVALID
--- Comment #4 from Mikael Morin <mikael at gcc dot gnu.org> ---
(In reply to Steve Kargl from comment #3)
> (In reply to Steve Kargl from comment #1)
> > F2023
> > C817 An access-spec shall appear only in the specification-part of a module.
>
> Flushing out your example, 'j' is in the spec-part of the submodule sm
> and available to the implementation of s(). 'j' is not made available
> through use association via 'use m' in the program. What do you
> want the 'private' attribute to do here?
>
Thanks, I understand now.
Closing then.