cp-tree.h (finish_static_data_member_decl): New function.
authorMark Mitchell <mark@codesourcery.com>
Mon, 19 Apr 1999 12:23:55 +0000 (12:23 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Mon, 19 Apr 1999 12:23:55 +0000 (12:23 +0000)
commitfa8d6e85a759f80f8c75bbd045e18950b99c8001
tree21d5e12c82cd4a8ee3cc6711a20833bb723dd020
parent80e9dcb4b2227b960b43f5356531a004a8565fe1
cp-tree.h (finish_static_data_member_decl): New function.

* cp-tree.h (finish_static_data_member_decl): New function.
* decl2.c (finish_static_data_member_decl): Split out from ...
(grokfield): Here.
* pt.c (instantiate_class_template): Use it here instead of
trying to fake it.
(tsubst_decl): Don't set DECL_ASSEMBLER_NAME;
finish_static_data_member_decl will do that.  Explicit set
DECL_EXTERNAL to match non-template processing.

From-SVN: r26548
gcc/cp/ChangeLog
gcc/cp/cp-tree.h
gcc/cp/decl2.c
gcc/cp/pt.c
gcc/testsuite/g++.old-deja/g++.pt/static7.C [new file with mode: 0644]