re PR c++/9457 (ICE in tsubst_copy, at cp/pt.c:7124)
authorKriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
Mon, 17 Feb 2003 15:42:58 +0000 (15:42 +0000)
committerKriang Lerdsuwanakij <lerdsuwa@gcc.gnu.org>
Mon, 17 Feb 2003 15:42:58 +0000 (15:42 +0000)
commitdb77ef4c9390380d0d99a7067a8886db36566482
tree73dba666cb0507d4543200b08950e8ea5197d87c
parente6ddcef66a2a8ee4bc82cda39d96c78ae488f37a
re PR c++/9457 (ICE in tsubst_copy, at cp/pt.c:7124)

PR c++/9457
* pt.c (tsubst_copy_and_build) [CONSTRUCTOR]: Substitute
CONSTRUCTOR_ELTS only once.

* g++.dg/template/init1.C: New test.

From-SVN: r63002
gcc/cp/ChangeLog
gcc/cp/pt.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/template/init1.C [new file with mode: 0644]