This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r186187 - in /trunk/gcc: cp/ChangeLog cp/semant...
- From: jason at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Fri, 06 Apr 2012 13:25:46 -0000
- Subject: r186187 - in /trunk/gcc: cp/ChangeLog cp/semant...
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