[Bug c++/81197] [7/8 Regression] ICE with structured binding and lifetime-extended temporaries
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81197 --- Comment #4 from Jakub Jelinek --- Author: jakub Date: Fri Dec 15 21:39:20 2017 New Revision: 255705 URL: https://gcc.gnu.org/viewcvs?rev=255705=gcc=rev Log: PR c++/81197 * cp-tree.h (cp_maybe_mangle_decomp): Declare. * decl.c (cp_maybe_mangle_decomp): New function. (cp_finish_decomp): Don't SET_DECL_ASSEMBLER_NAME here. * parser.c (cp_convert_range_for, cp_parser_decomposition_declaration): Call cp_maybe_mangle_decomp. * pt.c (tsubst_expr): Likewise. * mangle.c (find_decomp_unqualified_name): New function. (write_unqualified_name): Handle DECL_DECOMPOSITION_P where DECL_ASSEMBLER_NAME is already set. * g++.dg/cpp1z/decomp34.C: New test. Added: trunk/gcc/testsuite/g++.dg/cpp1z/decomp34.C Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/cp-tree.h trunk/gcc/cp/decl.c trunk/gcc/cp/mangle.c trunk/gcc/cp/parser.c trunk/gcc/cp/pt.c trunk/gcc/testsuite/ChangeLog
[Bug c++/81197] [7/8 Regression] ICE with structured binding and lifetime-extended temporaries
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81197 Richard Biener changed: What|Removed |Added Priority|P3 |P2
[Bug c++/81197] [7/8 Regression] ICE with structured binding and lifetime-extended temporaries
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81197 Jakub Jelinek changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gnu.org --- Comment #3 from Jakub Jelinek --- Created attachment 42784 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42784=edit gcc8-pr81197.patch Untested fix.
[Bug c++/81197] [7/8 Regression] ICE with structured binding and lifetime-extended temporaries
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81197 Richard Biener changed: What|Removed |Added Version|unknown |7.1.1 Target Milestone|--- |7.3
[Bug c++/81197] [7/8 Regression] ICE with structured binding and lifetime-extended temporaries
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81197 Richard Biener changed: What|Removed |Added Target Milestone|--- |7.3
[Bug c++/81197] [7/8 Regression] ICE with structured binding and lifetime-extended temporaries
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81197 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed||2017-08-08 CC||jason at gcc dot gnu.org, ||marxin at gcc dot gnu.org Summary|ICE with structured binding |[7/8 Regression] ICE with |and lifetime-extended |structured binding and |temporaries |lifetime-extended ||temporaries Ever confirmed|0 |1 --- Comment #2 from Martin Liška --- Confirmed, started with r242377.