[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
Thu Feb 16 01:47: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
----------------------------------------------------------------------------
           Keywords|                            |diagnostic
           See Also|                            |https://gcc.gnu.org/bugzill
                   |                            |a/show_bug.cgi?id=33255
            Summary|missing -Wunused-variable   |[5/6/7 Regression] missing
                   |on a typedef'd variable in  |-Wunused-variable on a
                   |a function template         |typedef'd variable in a
                   |                            |function template

--- Comment #1 from Martin Sebor <msebor at gcc dot gnu.org> ---
This a regression introduced in GCC 4.7, most likely r178692 (my bisection
points to r178694 because I don't have access to the other binary, but that
seems less likely).


More information about the Gcc-bugs mailing list