]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR c++/50531 ([C++0x] ICE on defaulted template destructor)
authorJason Merrill <jason@redhat.com>
Tue, 18 Oct 2011 19:36:28 +0000 (15:36 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Tue, 18 Oct 2011 19:36:28 +0000 (15:36 -0400)
commit15e0646fde23f549c224be5ba3ee9bd11eb748de
treea1100a8b4b514c22a4f0f025219d9d00f406feb8
parentd2f706418a847ebd9565638d76defc30ba9c30a0
re PR c++/50531 ([C++0x] ICE on defaulted template destructor)

PR c++/50531
* pt.c (instantiate_decl): Recognize when a function defaulted
outside the class is already instantiated.

From-SVN: r180162
gcc/cp/ChangeLog
gcc/cp/pt.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/defaulted32.C [new file with mode: 0644]