PR c++/7754
commit5d1238b982058208828fe99743a19933af89ddae
authormmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 8 Oct 2002 22:53:21 +0000 (8 22:53 +0000)
committermmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 8 Oct 2002 22:53:21 +0000 (8 22:53 +0000)
tree7a7a1f3144fa338205390a84e8c491af7fe04517
parenta53366e49359e4adc6ea5d239f309202c9cb1427
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/branches/gcc-3_2-branch@57962 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/decl2.c
gcc/cp/pt.c