re PR c++/33035 (ICE on local class destructor)
authorPaolo Carlini <pcarlini@suse.de>
Wed, 15 Aug 2007 09:06:42 +0000 (09:06 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Wed, 15 Aug 2007 09:06:42 +0000 (09:06 +0000)
commitba75df2bd35a7fa872e287f752b94f2169e4370c
tree83024b563f80accaef141bf03538e0b646a6b8c0
parent2a97f34e6730d618a03b52d05f0ee03de9251b03
re PR c++/33035 (ICE on local class destructor)

/cp
2007-08-15  Paolo Carlini  <pcarlini@suse.de>

PR c++/33035
* pt.c (push_template_decl_real): Depending on TYPE_P
use either TYPE_CONTEXT or DECL_CONTEXT.

/testsuite
2007-08-15  Paolo Carlini  <pcarlini@suse.de>

PR c++/33035
* g++.dg/template/crash68.C: New.

From-SVN: r127508
gcc/cp/ChangeLog
gcc/cp/pt.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/template/crash68.C [new file with mode: 0644]