This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]