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++/30659] [4.0/4.1/4.2/4.3 Regression] ICE in undefined template



------- Comment #5 from paolo at gcc dot gnu dot org  2007-10-29 00:17 -------
Subject: Bug 30659

Author: paolo
Date: Mon Oct 29 00:17:10 2007
New Revision: 129710

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=129710
Log:
cp/
2007-10-28  Paolo Carlini  <pcarlini@suse.de>
            Mark Mitchell  <mark@codesourcery.com>

        PR c++/30659
        * pt.c (do_decl_instantiation): If the VAR_DECL is not a
        class member error out and return.

testsuite/
2007-10-28  Paolo Carlini  <pcarlini@suse.de>
            Mark Mitchell  <mark@codesourcery.com>

        PR c++/30659
        * g++.dg/template/crash71.C: New.

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


-- 


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


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