This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/50531] [C++0x] ICE on defaulted template destructor


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]