aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-pretty-print.c
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2017-12-15 22:39:20 +0100
committerJakub Jelinek <jakub@gcc.gnu.org>2017-12-15 22:39:20 +0100
commit70356f771a65b378362b08d5fdb926fbb88e4aa7 (patch)
treeb5ee5b2b815030b7f06772d64cb74ea7a4a26e7b /gcc/tree-pretty-print.c
parenta8c55cacaf8fa1e90f9e26c467a78081ae152b50 (diff)
downloadgcc-70356f771a65b378362b08d5fdb926fbb88e4aa7.zip
gcc-70356f771a65b378362b08d5fdb926fbb88e4aa7.tar.gz
gcc-70356f771a65b378362b08d5fdb926fbb88e4aa7.tar.bz2
re PR c++/81197 (ICE with structured binding and lifetime-extended temporaries)
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. From-SVN: r255705
Diffstat (limited to 'gcc/tree-pretty-print.c')
0 files changed, 0 insertions, 0 deletions