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++/48280] [4.5/4.6/4.7 Regression] [C++0x] ICE: tree check: expected var_decl or function_decl, have template_decl in check_bases_and_members, at cp/class.c:4695


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48280

--- Comment #2 from Jason Merrill <jason at gcc dot gnu.org> 2011-03-31 20:29:52 UTC ---
Author: jason
Date: Thu Mar 31 20:29:49 2011
New Revision: 171797

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=171797
Log:
    PR c++/48280
    * method.c (defaultable_fn_check): Templates are not defaultable.

Added:
    trunk/gcc/testsuite/g++.dg/cpp0x/defaulted24.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/method.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]