re PR c++/23699 (rejects static int as non constant after "extern template")
authorMark Mitchell <mmitchel@gcc.gnu.org>
Sat, 3 Sep 2005 18:27:39 +0000 (18:27 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Sat, 3 Sep 2005 18:27:39 +0000 (18:27 +0000)
commitf7e4e4847c4b252bb232191d28c05439e7c85612
tree462c8d93c505a7da70361030d09b9e124b3fb9b3
parent2725073463dfe4d70a5111f6723a2f4ea36ba875
re PR c++/23699 (rejects static int as non constant after "extern template")

PR c++/23699
* decl2.c (mark_used): Always instantiate static data members
initialized by constant expressions.
* pt.c (instantiate_decl): Instantiate the initializers for static
data members initialized by constant expressions.

From-SVN: r103807
gcc/cp/pt.c