]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/testsuite/ChangeLog
re PR c++/78931 (ICE on C++17 structured bindings from struct with reference member)
authorJakub Jelinek <jakub@redhat.com>
Thu, 5 Jan 2017 21:13:09 +0000 (22:13 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Thu, 5 Jan 2017 21:13:09 +0000 (22:13 +0100)
commit26f203712b9a90913473a1a75ce6f96783a6ec65
tree0168efe0556697eb860492191d19684eaab1eb28
parent962c5679b3c61f09b96ab72e474a897b870fd2c1
re PR c++/78931 (ICE on C++17 structured bindings from struct with reference member)

PR c++/78931
* decl.c (cp_finish_decomp): Remove probe variable, if tt is
REFERENCE_REF_P, set tt to its operand.

* g++.dg/cpp1z/decomp19.C: New test.

From-SVN: r244113
gcc/cp/ChangeLog
gcc/cp/decl.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp1z/decomp19.C [new file with mode: 0644]