public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug fortran/55179] New: Optionally warn when use-associating a module with no (public) symbols
@ 2012-11-02 11:39 burnus at gcc dot gnu.org
  2015-10-20 21:47 ` [Bug fortran/55179] " dominiq at lps dot ens.fr
  0 siblings, 1 reply; 2+ messages in thread
From: burnus at gcc dot gnu.org @ 2012-11-02 11:39 UTC (permalink / raw)
  To: gcc-bugs


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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bug fortran/55179] Optionally warn when use-associating a module with no (public) symbols
  2012-11-02 11:39 [Bug fortran/55179] New: Optionally warn when use-associating a module with no (public) symbols burnus at gcc dot gnu.org
@ 2015-10-20 21:47 ` dominiq at lps dot ens.fr
  0 siblings, 0 replies; 2+ messages in thread
From: dominiq at lps dot ens.fr @ 2015-10-20 21:47 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55179

Dominique d'Humieres <dominiq at lps dot ens.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2015-10-20
     Ever confirmed|0                           |1

--- Comment #1 from Dominique d'Humieres <dominiq at lps dot ens.fr> ---
Usual answer!


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-10-20 21:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-11-02 11:39 [Bug fortran/55179] New: Optionally warn when use-associating a module with no (public) symbols burnus at gcc dot gnu.org
2015-10-20 21:47 ` [Bug fortran/55179] " dominiq at lps dot ens.fr

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).