[Bug c++/52596] [4.7/4.8 Regression] [C++11] internal compiler error: in lvalue_kind, at cp/tree.c:153
jason at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Apr 6 13:27:00 GMT 2012
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52596
--- Comment #6 from Jason Merrill <jason at gcc dot gnu.org> 2012-04-06 13:25:48 UTC ---
Author: jason
Date: Fri Apr 6 13:25:45 2012
New Revision: 186187
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=186187
Log:
PR c++/52596
* semantics.c (finish_non_static_data_member): In templates, pass
the decl to build_qualified_name.
* tree.c (lvalue_kind) [SCOPE_REF]: Handle FIELD_DECL.
Added:
trunk/gcc/testsuite/g++.dg/template/qualified-id5.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/semantics.c
trunk/gcc/cp/tree.c
trunk/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list