* class.c (finish_vtbls): Copy BINFO_VIRTUALs before using it to
authormmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 25 May 1999 15:31:38 +0000 (15:31 +0000)
committermmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 25 May 1999 15:31:38 +0000 (15:31 +0000)
commit7af67ee88f0f0a0de61b20576e3b5904accc51ec
treea92251b76a9d8c50ccfdb269bdce4aaf3e601d76
parentcfd2b5a1970c059b2a57022e83e046d2403204ac
* class.c (finish_vtbls): Copy BINFO_VIRTUALs before using it to
intialize a vtable.
* cp-tree.h (NAMESPACE_LEVEL): Reformat.
(lang_decl_flags): Document MEMFUNC_POINTER_TO.  Save four bytes
by combining TEMPLATE_INFO and LEVEL into a single union.
(DECL_TEMPLATE_INFO): Reformat.
(DECL_SAVED_TREE): Document.
(DECL_TEMPLATE_INJECT): Remove.
* class.c (finish_struct): Remove code to deal with
DECL_TEMPLATE_INJECT.
* decl.c (maybe_process_template_type_declaration): Handle all new
types in templates uniformly.
* method.c (bulid_overload_identifier): Use CP_DECL_CONTEXT, not
DECL_CONTEXT.
* pt.c (lookup_template_class): Inject template instantiations of
forward-declarations.
(instantiate_class_template): Remove code processing
DECL_TEMPLATE_INJECT.
* pt.c (lookup_template_class): Tweak lookup to find member
templates.
* pt.c (tsubst_expr, case ASM_STMT): Don't tsubst into
ASM_CV_QUAL.
* semantics.c (finish_asm_stmt): Make strings permanent if they're
used in a template.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27144 138bc75d-0d04-0410-961f-82ee72b054a4
12 files changed:
gcc/cp/ChangeLog
gcc/cp/class.c
gcc/cp/cp-tree.h
gcc/cp/decl.c
gcc/cp/method.c
gcc/cp/pt.c
gcc/cp/semantics.c
gcc/testsuite/g++.old-deja/g++.pt/asm1.C [new file with mode: 0644]
gcc/testsuite/g++.old-deja/g++.pt/asm2.C [new file with mode: 0644]
gcc/testsuite/g++.old-deja/g++.pt/inject1.C [new file with mode: 0644]
gcc/testsuite/g++.old-deja/g++.pt/inject2.C [new file with mode: 0644]
gcc/testsuite/g++.old-deja/g++.pt/memclass21.C [new file with mode: 0644]