gcc/cp/
commitb8604e18d0931870159d80bd471c6f8234a733e8
authornathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 15 May 2017 19:35:52 +0000 (15 19:35 +0000)
committernathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 15 May 2017 19:35:52 +0000 (15 19:35 +0000)
treefa2958bbb482d2c4052540d22b615137a1f8c25c
parent6c7e7d1c62e2f9249a0f57ee9dafe48176182485
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@248073 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/cp-tree.h
gcc/cp/name-lookup.c
gcc/cp/name-lookup.h
gcc/cp/parser.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/pr65558.C
gcc/testsuite/g++.dg/cpp0x/pr79369.C [new file with mode: 0644]