[Bug c++/79548] [5/6/7 Regression] missing -Wunused-variable on a typedef'd variable in a function template

msebor at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Feb 17 18:12:00 GMT 2017


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

Martin Sebor <msebor at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
           Assignee|unassigned at gcc dot gnu.org      |msebor at gcc dot gnu.org

--- Comment #3 from Martin Sebor <msebor at gcc dot gnu.org> ---
TREE_USED(decl) is set for a typedef in maybe_record_typedef_use() in
c-family/warn.c.  Let me see if there's an easy way to fix this.


More information about the Gcc-bugs mailing list