This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r242432 - in /trunk/gcc: cp/ChangeLog cp/cp-tre...
- From: jason at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Tue, 15 Nov 2016 16:32:39 -0000
- Subject: r242432 - in /trunk/gcc: cp/ChangeLog cp/cp-tre...
Author: jason
Date: Tue Nov 15 16:32:38 2016
New Revision: 242432
URL: https://gcc.gnu.org/viewcvs?rev=242432&root=gcc&view=rev
Log:
PR c++/78358 - tuple decomposition decltype
* semantics.c (finish_decltype_type): Strip references for a tuple
decomposition.
* cp-tree.h (DECL_DECOMPOSITION_P): False for non-variables.
Added:
trunk/gcc/testsuite/g++.dg/cpp1z/decomp12.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/cp-tree.h
trunk/gcc/cp/semantics.c