re PR c++/49507 (ICE because of defaulted template destructor)
authorJason Merrill <jason@redhat.com>
Thu, 23 Jun 2011 16:53:03 +0000 (12:53 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Thu, 23 Jun 2011 16:53:03 +0000 (12:53 -0400)
commit767de87d05afc6574bf1c5812391b2d865ee817f
tree6807a2bb0c080077e03d095791735bcd63f1d90e
parentd72ce0c110efa0597e1620f8dd946a14191b9b83
re PR c++/49507 (ICE because of defaulted template destructor)

PR c++/49507
* decl2.c (mark_used): Don't call synthesize_method for
functions defaulted outside the class.

From-SVN: r175342
gcc/cp/ChangeLog
gcc/cp/decl2.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/defaulted30.C [new file with mode: 0644]