https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78358
--- Comment #5 from Jason Merrill <jason at gcc dot gnu.org> --- 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