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

Joost VandeVondele <Joost.VandeVondele at mat dot ethz.ch> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2014-11-30
                 CC|                            |Joost.VandeVondele at mat dot 
ethz
                   |                            |.ch
     Ever confirmed|0                           |1

--- Comment #1 from Joost VandeVondele <Joost.VandeVondele at mat dot ethz.ch> 
---
confirmed, looks like the -Wunused-function warning doesn't notice if the
address of a function is taken.


One surprising aspect of this 'trick' of taking addresses of functions is that
it makes private procedures of modules available/callable outside of the
module.

Reply via email to