[Bug c++/79695] spurious -Wunused-variable on a static global of a type declared unused
msebor at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Feb 23 20:51:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79695
Martin Sebor <msebor at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |diagnostic
--- Comment #1 from Martin Sebor <msebor at gcc dot gnu.org> ---
Let me correct that: GCC warns on the first two variables, not on the local one
defined in function g(). It used to warn on it until r145440.
More information about the Gcc-bugs
mailing list