This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/81197] New: ICE with structured binding and lifetime-extended temporaries
- From: "ensadc at mailnesia dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 24 Jun 2017 09:36:10 +0000
- Subject: [Bug c++/81197] New: ICE with structured binding and lifetime-extended temporaries
- Auto-submitted: auto-generated
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81197
Bug ID: 81197
Summary: ICE with structured binding and lifetime-extended
temporaries
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: ensadc at mailnesia dot com
Target Milestone: ---
https://wandbox.org/permlink/knUzVFqc8cUizjI4
----
#include <tuple>
const auto& [a] = std::make_tuple(1);
----
prog.cc:3:36: internal compiler error: in write_unqualified_name, at
cp/mangle.c:1318
const auto& [a] = std::make_tuple(1);
^
----
Might relate to bug 81086, but this one ICEs on both 7.1 and 8.