]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR c++/7754 (ICE SIGSEGV on union with template parameter)
authorMark Mitchell <mark@codesourcery.com>
Fri, 4 Oct 2002 05:25:15 +0000 (05:25 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Fri, 4 Oct 2002 05:25:15 +0000 (05:25 +0000)
commit9b629e25928f415b7c1950c90d2e4361d31d7127
treed2084c7f991011511bb4f8754b13711bf814ffd8
parent74b0b2debe2805c4b009ca9f3384402b52880dda
re PR c++/7754 (ICE SIGSEGV on union with template parameter)

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.

From-SVN: r57803
gcc/cp/ChangeLog
gcc/cp/decl2.c
gcc/cp/pt.c
gcc/testsuite/ChangeLog