This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/53816] [4.7/4.8 Regression] internal compiler error: tree check: expected field_decl, have identifier_node in fixed_type_or_null, at cp/class.c:6419, with -std=c++11 option
- From: "jason at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 03 Jul 2012 03:30:31 +0000
- Subject: [Bug c++/53816] [4.7/4.8 Regression] internal compiler error: tree check: expected field_decl, have identifier_node in fixed_type_or_null, at cp/class.c:6419, with -std=c++11 option
- Auto-submitted: auto-generated
- References: <bug-53816-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53816
--- Comment #5 from Jason Merrill <jason at gcc dot gnu.org> 2012-07-03 03:30:31 UTC ---
Author: jason
Date: Tue Jul 3 03:30:27 2012
New Revision: 189189
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=189189
Log:
PR c++/53816
* class.c (resolves_to_fixed_type_p): Check uses_template_parms
(current_function_decl) instead of processing_template_decl.
Added:
branches/gcc-4_7-branch/gcc/testsuite/g++.dg/template/ref6.C
Modified:
branches/gcc-4_7-branch/gcc/cp/ChangeLog
branches/gcc-4_7-branch/gcc/cp/class.c
branches/gcc-4_7-branch/gcc/testsuite/ChangeLog