This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/20562] no unused warning for static const arrays
- From: "msebor at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 15 Apr 2016 19:10:16 +0000
- Subject: [Bug c/20562] no unused warning for static const arrays
- Auto-submitted: auto-generated
- References: <bug-20562-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=20562
Martin Sebor <msebor at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |msebor at gcc dot gnu.org
Known to work| |6.0
Resolution|--- |DUPLICATE
Known to fail| |4.0.0, 4.5.3, 4.8.3, 4.9.3,
| |5.3.0
--- Comment #9 from Martin Sebor <msebor at gcc dot gnu.org> ---
This has been resolved in 6.0 via the -Wunused-const-variable option (see bug
28901).
*** This bug has been marked as a duplicate of bug 28901 ***