aboutsummaryrefslogtreecommitdiff
path: root/gcc/print-rtl.c
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2017-11-27 22:54:25 +0100
committerJakub Jelinek <jakub@gcc.gnu.org>2017-11-27 22:54:25 +0100
commitde3d4fd0f5439fcc8e3ae10d9f439c007dfacb1d (patch)
treeb139900e645ba6d6ef76b0bf7e6d6a274c45d0da /gcc/print-rtl.c
parent528c7559a84012642c6a6f80380578572aceaf5c (diff)
downloadgcc-de3d4fd0f5439fcc8e3ae10d9f439c007dfacb1d.zip
gcc-de3d4fd0f5439fcc8e3ae10d9f439c007dfacb1d.tar.gz
gcc-de3d4fd0f5439fcc8e3ae10d9f439c007dfacb1d.tar.bz2
re PR c++/81888 (Structured bindings stopped working)
PR c++/81888 * parser.c (cp_parser_decomposition_declaration): Reject just BRACE_ENCLOSED_INITIALIZER_P initializers with nelts != 1 rather than all such CONSTRUCTORs, and only if is_direct_init is true. * g++.dg/cpp1z/decomp30.C: Add a test for structured binding with = {} and = { a, a } initializers. * g++.dg/cpp1z/decomp31.C: New test. From-SVN: r255180
Diffstat (limited to 'gcc/print-rtl.c')
0 files changed, 0 insertions, 0 deletions