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/54997] [4.8 Regression] -Wunused-function gives false warnings


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

janus at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|-Wunused-function gives     |[4.8 Regression]
                   |false warnings for          |-Wunused-function gives
                   |procedures passed as actual |false warnings
                   |argument                    |

--- Comment #6 from janus at gcc dot gnu.org 2012-10-22 12:58:48 UTC ---
First, I forgot to mention that the behavior described in comment 0 is a 4.8
regression.

Second, there is another case which still gives bogus warnings (also a
regression), and that is ENTRY:


subroutine sub
entry en
end subroutine


Compiling this with -Wunused-function yields:

warning: âmaster.0.subâ defined but not used [-Wunused-function]
 subroutine sub
 ^


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