]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/cp/pt.c
re PR c++/30659 (ICE in undefined template)
authorPaolo Carlini <pcarlini@suse.de>
Mon, 29 Oct 2007 00:17:10 +0000 (00:17 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Mon, 29 Oct 2007 00:17:10 +0000 (00:17 +0000)
commit8259e4f5bd121089d8e59d70ee5ab97cddce1e34
tree4115879b2c6cd80de5cd4b87ab2e46c0ae0e989e
parenta9077d27daa2ebe96daf2caf526d94d1cff3a196
re PR c++/30659 (ICE in undefined template)

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.

Co-Authored-By: Mark Mitchell <mark@codesourcery.com>
From-SVN: r129710
gcc/cp/ChangeLog
gcc/cp/pt.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/template/crash71.C [new file with mode: 0644]