[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
jason at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Mar 31 21:06:00 GMT 2011
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
More information about the Gcc-bugs
mailing list