This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/55179] New: Optionally warn when use-associating a module with no (public) symbols


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]