[Bug c++/84221] [6/7 Regression] spurious -Wunused warning on a variable of a template type declared unused

2018-10-26 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84221 Jakub Jelinek changed: What|Removed |Added Target Milestone|6.5 |7.4 --- Comment #6 from Jakub Jelinek

[Bug c++/84221] [6/7 Regression] spurious -Wunused warning on a variable of a template type declared unused

2018-04-09 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84221 --- Comment #5 from Martin Sebor --- As per subsequent discussion (https://gcc.gnu.org/ml/gcc-patches/2018-04/msg00203.html and follow-ups), the warning in the original test case is expected and desirable. The patch in r259098 doesn't change

[Bug c++/84221] [6/7 Regression] spurious -Wunused warning on a variable of a template type declared unused

2018-04-04 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84221 --- Comment #4 from Jason Merrill --- Author: jason Date: Wed Apr 4 19:59:20 2018 New Revision: 259106 URL: https://gcc.gnu.org/viewcvs?rev=259106=gcc=rev Log: PR c++/84221 * g++.dg/warn/Wunused-var-32.C: Test explicit specialization.