re PR c++/53816 (internal compiler error: tree check: expected field_decl, have ident...
authorJason Merrill <jason@redhat.com>
Tue, 3 Jul 2012 03:29:58 +0000 (23:29 -0400)
committerJason Merrill <jason@gcc.gnu.org>
Tue, 3 Jul 2012 03:29:58 +0000 (23:29 -0400)
commit65f0c5b308fc97731b8d34236c4852ac58db2d29
tree4cb39725abc86a626f4738b78602f2db1d5f0044
parentd695f91575f13ec3c2392eb192155c835de38f59
re PR c++/53816 (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)

PR c++/53816
* class.c (resolves_to_fixed_type_p): Check uses_template_parms
(current_function_decl) instead of processing_template_decl.

From-SVN: r189187
gcc/cp/ChangeLog
gcc/cp/class.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/template/ref6.C [new file with mode: 0644]