re PR c++/27640 (segfault, related to constructor instantiation and virtual base...
authorMark Mitchell <mark@codesourcery.com>
Fri, 16 Jun 2006 02:09:10 +0000 (02:09 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Fri, 16 Jun 2006 02:09:10 +0000 (02:09 +0000)
commita95799ec5fe4e00d99fc1545ff0ea64d10e7e0b9
tree462bb323dcfbee6531d4cdcd154b78f02a6234de
parent9f84b5ae284ca20b0e62d5d848e9f033471582db
re PR c++/27640 (segfault, related to constructor instantiation and virtual base case and templates and new operator)

PR c++/27640
* pt.c (instantiate_template): Set processing_template_decl to
zero while performing substitutions.
PR c++/27640
* g++.dg/template/ctor7.C: New test.

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