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
 ^

Reply via email to