This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/50531] [C++0x] ICE on defaulted template destructor
- From: "jason at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 18 Oct 2011 19:36:34 +0000
- Subject: [Bug c++/50531] [C++0x] ICE on defaulted template destructor
- Auto-submitted: auto-generated
- References: <bug-50531-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50531
--- Comment #2 from Jason Merrill <jason at gcc dot gnu.org> 2011-10-18 19:36:34 UTC ---
Author: jason
Date: Tue Oct 18 19:36:29 2011
New Revision: 180163
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=180163
Log:
PR c++/50531
* pt.c (instantiate_decl): Recognize when a function defaulted
outside the class is already instantiated.
Added:
branches/gcc-4_6-branch/gcc/testsuite/g++.dg/cpp0x/defaulted32.C
Modified:
branches/gcc-4_6-branch/gcc/cp/ChangeLog
branches/gcc-4_6-branch/gcc/cp/pt.c
branches/gcc-4_6-branch/gcc/testsuite/ChangeLog
--- Comment #3 from Jason Merrill <jason at gcc dot gnu.org> 2011-10-18 19:36:34 UTC ---
Author: jason
Date: Tue Oct 18 19:36:28 2011
New Revision: 180162
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=180162
Log:
PR c++/50531
* pt.c (instantiate_decl): Recognize when a function defaulted
outside the class is already instantiated.
Added:
trunk/gcc/testsuite/g++.dg/cpp0x/defaulted32.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/pt.c
trunk/gcc/testsuite/ChangeLog