[Bug c++/42277] decltype error in template
jason at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Fri Dec 4 22:51:00 GMT 2009
------- Comment #1 from jason at gcc dot gnu dot org 2009-12-04 22:51 -------
Subject: Bug 42277
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
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42277
More information about the Gcc-bugs
mailing list