r259252 - in /trunk/gcc: cp/ChangeLog cp/parser...

jakub@gcc.gnu.org jakub@gcc.gnu.org
Mon Apr 9 19:48:00 GMT 2018


Author: jakub
Date: Mon Apr  9 19:48:48 2018
New Revision: 259252

URL: https://gcc.gnu.org/viewcvs?rev=259252&root=gcc&view=rev
Log:
	PR c++/85194
	* parser.c (cp_parser_simple_declaration): For structured bindings,
	if *maybe_range_for_decl is NULL after parsing it, set it to
	error_mark_node.

	* g++.dg/cpp1z/decomp43.C: New test.

Added:
    trunk/gcc/testsuite/g++.dg/cpp1z/decomp43.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/parser.c
    trunk/gcc/testsuite/ChangeLog



More information about the Gcc-cvs mailing list