[Bug c++/98543] fails to diagnose unnecessary functions

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Jan 7 14:27:16 GMT 2021


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

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|                            |2021-01-07
             Status|UNCONFIRMED                 |NEW
     Ever confirmed|0                           |1

--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
-Wunused-function fails to diagnose it because the address is taken. But the
address doesn't escape that function.


More information about the Gcc-bugs mailing list