[Bug c++/83217] Compiler segfault: structured binding by reference to a templated type via a pointer
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83217 Volker Reichelt changed: What|Removed |Added CC||antanubis at gmail dot com --- Comment #6 from Volker Reichelt --- *** Bug 83481 has been marked as a duplicate of this bug. ***
[Bug c++/83217] Compiler segfault: structured binding by reference to a templated type via a pointer
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83217 Jakub Jelinek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|--- |FIXED --- Comment #5 from Jakub Jelinek --- Fixed for 7.3+.
[Bug c++/83217] Compiler segfault: structured binding by reference to a templated type via a pointer
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83217 --- Comment #4 from Jakub Jelinek --- Author: jakub Date: Fri Dec 15 22:16:15 2017 New Revision: 255730 URL: https://gcc.gnu.org/viewcvs?rev=255730=gcc=rev Log: PR c++/83217 * decl.c (cp_finish_decomp): If decl's type is REFERENCE_TYPE, call complete_type (TREE_TYPE (type)). * g++.dg/cpp1z/decomp33.C: New test. Added: branches/gcc-7-branch/gcc/testsuite/g++.dg/cpp1z/decomp33.C Modified: branches/gcc-7-branch/gcc/cp/ChangeLog branches/gcc-7-branch/gcc/cp/decl.c branches/gcc-7-branch/gcc/testsuite/ChangeLog
[Bug c++/83217] Compiler segfault: structured binding by reference to a templated type via a pointer
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83217 --- Comment #3 from Jakub Jelinek --- Fixed on the trunk so far.
[Bug c++/83217] Compiler segfault: structured binding by reference to a templated type via a pointer
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83217 --- Comment #2 from Jakub Jelinek --- Author: jakub Date: Fri Dec 15 19:41:45 2017 New Revision: 255702 URL: https://gcc.gnu.org/viewcvs?rev=255702=gcc=rev Log: PR c++/83217 * decl.c (cp_finish_decomp): If decl's type is REFERENCE_TYPE, call complete_type (TREE_TYPE (type)). * g++.dg/cpp1z/decomp33.C: New test. Added: trunk/gcc/testsuite/g++.dg/cpp1z/decomp33.C Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/decl.c trunk/gcc/testsuite/ChangeLog
[Bug c++/83217] Compiler segfault: structured binding by reference to a templated type via a pointer
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83217 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed||2017-11-30 Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gnu.org Ever confirmed|0 |1 --- Comment #1 from Jakub Jelinek --- Created attachment 42753 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42753=edit gcc8-pr83217.patch Untested fix.