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: unassig...@gcc.gnu.org

        ReportedBy: bur...@gcc.gnu.org

                CC: tkoe...@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

Reply via email to