re PR c++/23691 (`mpl_::bool_<false>::value' is not a valid template argument for...
authorMark Mitchell <mark@codesourcery.com>
Thu, 8 Sep 2005 18:56:42 +0000 (18:56 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Thu, 8 Sep 2005 18:56:42 +0000 (18:56 +0000)
commit024f1251b584243372c0413105b2230769f3e682
tree794733d783728df4d410d1633a0e1e80bb479f43
parent0348d6fd857a367763b2e7c59449aa545b5c8c14
re PR c++/23691 (`mpl_::bool_<false>::value' is not a valid template argument for type `bool' because it is a non-constant expression)

PR c++/23691
* decl2.c (mark_used): Instantiate static data members initialized
by constants, even in a template.

PR c++/23691
* g++.dg/template/static16.C: New test.

From-SVN: r104041
gcc/cp/ChangeLog
gcc/cp/decl2.c
gcc/testsuite/ChangeLog