[Bug c++/84221] [6/7/8 Regression] spurious -Wmaybe-uninitialized warning on a variable of a template type declared unused
msebor at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Feb 5 23:12:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84221
Martin Sebor <msebor at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |diagnostic
Known to work| |4.7.4
Summary|spurious |[6/7/8 Regression] spurious
|-Wmaybe-uninitialized |-Wmaybe-uninitialized
|warning on a variable of a |warning on a variable of a
|template type declared |template type declared
|unused |unused
Known to fail| |4.8.4, 4.9.4, 5.5.0, 6.4.0,
| |7.2.0, 8.0
--- Comment #1 from Martin Sebor <msebor at gcc dot gnu.org> ---
Bisection points to r191830 (gcc 4.8.0) as the change that introduced the false
positive:
r191830 | dodji | 2012-09-28 09:32:41 -0400 (Fri, 28 Sep 2012) | 23 lines
PR c++/54372 - unused attribute inactive on dependant entities
More information about the Gcc-bugs
mailing list