This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/79585] spurious -Wunused-variable on a pointer with attribute unused in function template
- 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, 17 Feb 2017 21:27:13 +0000
- Subject: [Bug c++/79585] spurious -Wunused-variable on a pointer with attribute unused in function template
- Auto-submitted: auto-generated
- References: <bug-79585-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79585
Martin Sebor <msebor at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |diagnostic
Known to fail| |4.1.3, 4.2.2, 4.3.2, 4.6.0,
| |5.3.0, 6.3.0, 7.0
--- Comment #1 from Martin Sebor <msebor at gcc dot gnu.org> ---
The same spurious warning goes at least as far back as GCC 4. Clang doesn't
have the problem.