PR c++/71274 - deprecated warning without use.
authorJason Merrill <jason@redhat.com>
Fri, 22 Jul 2016 03:45:48 +0000 (23:45 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Fri, 22 Jul 2016 03:45:48 +0000 (23:45 -0400)
commit94ced5b494676c8763bb28fe615084c19cec1eb0
tree2471851599a50c25703da0419ac53f87d8bf96df
parent44ed47547a1cb981faa264b9c29bd52c2f2891af
PR c++/71274 - deprecated warning without use.

* decl2.c (maybe_instantiate_decl): Split out from mark_used.
(decl_constant_var_p): Use it instead.

From-SVN: r238623
gcc/cp/ChangeLog
gcc/cp/decl2.c
gcc/testsuite/g++.dg/warn/deprecated-11.C [new file with mode: 0644]