This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/55179] New: Optionally warn when use-associating a module with no (public) symbols
- From: "burnus at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 02 Nov 2012 11:39:31 +0000
- Subject: [Bug fortran/55179] New: Optionally warn when use-associating a module with no (public) symbols
- Auto-submitted: auto-generated
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55179
Bug #: 55179
Summary: Optionally warn when use-associating a module with no
(public) symbols
Classification: Unclassified
Product: gcc
Version: 4.8.0
Status: UNCONFIRMED
Keywords: diagnostic
Severity: normal
Priority: P3
Component: fortran
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: burnus@gcc.gnu.org
CC: tkoenig@gcc.gnu.org
Compiling the following program by Open64/PathScale/Crayftn gives by default
the warning:
Module "M" has no public objects declared in the module, therefore nothing
can be use associated from the module.
I think it makes sense to have a similar warning, though I am not sure that one
should warn by default.
module m
end module m
use m
end