]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR c++/7188 (Segfault with template class and recursive (incorrect) initalizer...
authorMark Mitchell <mark@codesourcery.com>
Thu, 3 Oct 2002 06:55:01 +0000 (06:55 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Thu, 3 Oct 2002 06:55:01 +0000 (06:55 +0000)
commit20b632e5f1101138472087725d15a3d2f0c3560d
treef184f18e41f1d09a938dae8376f8def6f7fc3c74
parent1ace39b24715d6ce897e89898662bcf6c5cc555d
re PR c++/7188 (Segfault with template class and recursive (incorrect) initalizer list.)

PR c++/7188.
* init.c (expand_member_init): Allow a FIELD_DECL to be passed in
directly.
* pt.c (tsubst_initializer_list): Use expand_member_init.

PR c++/7188.
* testsuite/g++.dg/template/meminit1.C: New test.

From-SVN: r57763
gcc/cp/ChangeLog
gcc/cp/init.c
gcc/cp/pt.c
gcc/testsuite/ChangeLog