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++/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


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


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