[Bug c++/27640] [4.2 Regression] segfault, related to constructor instantiation and virtual base case and templates and new operator

mmitchel at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Fri Jun 16 02:09:00 GMT 2006



------- Comment #7 from mmitchel at gcc dot gnu dot org  2006-06-16 02:09 -------
Subject: Bug 27640

Author: mmitchel
Date: Fri Jun 16 02:09:10 2006
New Revision: 114701

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=114701
Log:
        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.

Added:
    trunk/gcc/testsuite/g++.dg/template/ctor7.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/pt.c
    trunk/gcc/testsuite/ChangeLog


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27640



More information about the Gcc-bugs mailing list