OSDN Git Service

PR c++/7754
authormmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 8 Oct 2002 22:52:14 +0000 (22:52 +0000)
committermmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 8 Oct 2002 22:52:14 +0000 (22:52 +0000)
commitc8a606aefd54c300d6fb994a3840800e0131331a
tree932d6c0647fd6654e71d64076f075d0a22735d76
parent3ba0e180c29f5ea4944c4d7b6707f56397468c91
PR c++/7754
* decl2.c (finish_anon_union): Do not expand anonymous unions when
procesing template functions.
* pt.c (tsubst_decl, case VAR_DECL): Try to complete the variable
type. Call layout_decl.
(tsubst_expr, case DECL_STMT): Handle anonymous unions.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@57961 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/decl2.c
gcc/cp/pt.c