r236835 - in /trunk/gcc: cp/ChangeLog cp/name-l...

paolo@gcc.gnu.org paolo@gcc.gnu.org
Fri May 27 19:19:00 GMT 2016


Author: paolo
Date: Fri May 27 19:19:23 2016
New Revision: 236835

URL: https://gcc.gnu.org/viewcvs?rev=236835&root=gcc&view=rev
Log:
/cp
2016-05-27  Paolo Carlini  <paolo.carlini@oracle.com>

	PR c++/60385
	* name-lookup.c (push_namespace): Return bool, false when pushdecl
	fails.
	* name-lookup.h (push_namespace): Adjust declaration.
	* parser.c (cp_parser_namespace_definition): Check push_namespace
	return value.

/testsuite
2016-05-27  Paolo Carlini  <paolo.carlini@oracle.com>

	PR c++/60385
	* g++.dg/parse/namespace13.C: New.

Added:
    trunk/gcc/testsuite/g++.dg/parse/namespace13.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/name-lookup.c
    trunk/gcc/cp/name-lookup.h
    trunk/gcc/cp/parser.c
    trunk/gcc/testsuite/ChangeLog



More information about the Gcc-cvs mailing list