This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r155002 - 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, 04 Dec 2009 22:51:13 -0000
- Subject: r155002 - in /trunk/gcc: cp/ChangeLog cp/semant...
Author: jason
Date: Fri Dec 4 22:51:12 2009
New Revision: 155002
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=155002
Log:
PR c++/42277
* semantics.c (finish_decltype_type): Don't assume that op1 of a
COMPONENT_REF is always the field.
* g++.dg/cpp0x/decltype20.C: New.
Added:
trunk/gcc/testsuite/g++.dg/cpp0x/decltype20.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/semantics.c
trunk/gcc/testsuite/ChangeLog