cp/
commite1c738bface5292ca7605496a92208baeb19f1d2
authorpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 29 Oct 2007 00:17:10 +0000 (29 00:17 +0000)
committerpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 29 Oct 2007 00:17:10 +0000 (29 00:17 +0000)
tree4115879b2c6cd80de5cd4b87ab2e46c0ae0e989e
parent190a9dfce07ce6e2f6229eb629d2265297967f7c
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@129710 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/pt.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/template/crash71.C [new file with mode: 0644]