[Bug c++/49507] [4.6/4.7 Regression] ICE because of defaulted template destructor

jason at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Jun 23 16:56:00 GMT 2011


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



More information about the Gcc-bugs mailing list