https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79369
--- Comment #4 from Nathan Sidwell <nathan at gcc dot gnu.org> --- Author: nathan Date: Mon May 15 19:35:52 2017 New Revision: 248073 URL: https://gcc.gnu.org/viewcvs?rev=248073&root=gcc&view=rev Log: gcc/cp/ PR c++/79369 * cp-tree.h (DECL_NAMESPACE_INLINE_P): New. * name-lookup.h (push_namespace): Return int, add make_inline arg. * name-lookup.c (push_namespace): Deal with inline directly. Return pushed count. * parser.c (cp_parser_namespace_definition): Adjust for push_namespace change. gcc/testsuite/ * g++.dg/cpp0x/pr65558.C: Adjust diagnostic location. * g++.dg/cpp0x/pr79369.C: New. Added: trunk/gcc/testsuite/g++.dg/cpp0x/pr79369.C Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/cp-tree.h trunk/gcc/cp/name-lookup.c trunk/gcc/cp/name-lookup.h trunk/gcc/cp/parser.c trunk/gcc/testsuite/ChangeLog trunk/gcc/testsuite/g++.dg/cpp0x/pr65558.C