This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/49507] [4.6/4.7 Regression] ICE because of 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: Thu, 23 Jun 2011 16:56:40 +0000
- Subject: [Bug c++/49507] [4.6/4.7 Regression] ICE because of defaulted template destructor
- Auto-submitted: auto-generated
- References: <bug-49507-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49507
--- Comment #5 from Jason Merrill <jason at gcc dot gnu.org> 2011-06-23 16:56:31 UTC ---
Author: jason
Date: Thu Jun 23 16:56:27 2011
New Revision: 175343
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=175343
Log:
PR c++/49507
* decl2.c (mark_used): Don't call synthesize_method for
functions defaulted outside the class.
Added:
branches/gcc-4_6-branch/gcc/testsuite/g++.dg/cpp0x/defaulted30.C
Modified:
branches/gcc-4_6-branch/gcc/cp/ChangeLog
branches/gcc-4_6-branch/gcc/cp/decl2.c
branches/gcc-4_6-branch/gcc/testsuite/ChangeLog