http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54221

Tobias Burnus <burnus at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P4
   Target Milestone|---                         |4.8.0
            Summary|Explicit private access     |[4.8 Regression] Explicit
                   |specifier signals           |private access specifier
                   |"unexpected defined but not |signals "unexpected defined
                   |used [-Wunused-function]"   |but not used
                   |warning                     |[-Wunused-function]"
                   |                            |warning

--- Comment #4 from Tobias Burnus <burnus at gcc dot gnu.org> 2012-08-21 
08:53:48 UTC ---
I mark this now as regression in the Fortran front-end to keep better track of
PR middle-end/54224: It seems as if part of the fix has to be done in the
Fortran front-end.

In this PR, the issue of having a different result with PRIVATE vs. "PRIVATE ::
entry_name" is now fixed.

It remains the issue that there is no warning for unused internal procedures
(or unused nested functions in C), no warning of unused PRIVATE module
variables and a spurious warning for *used* PRIVATE module procedures. Those
are tracked in PR 54224. Additionally, there is the issue that the private
module procedures is not inlined, see other PR and PR 48636 comment 18.

Reply via email to