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 #3 from Jason Merrill <jason at gcc dot gnu.org> 2011-03-31 20:33:10 UTC ---
Author: jason
Date: Thu Mar 31 20:33:07 2011
New Revision: 171798

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

Added:
    branches/gcc-4_6-branch/gcc/testsuite/g++.dg/cpp0x/defaulted24.C
Modified:
    branches/gcc-4_6-branch/gcc/cp/ChangeLog
    branches/gcc-4_6-branch/gcc/cp/method.c
    branches/gcc-4_6-branch/gcc/testsuite/ChangeLog


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