[PR c++/84970] lookup marking
commit86a31b69a311ac53dd9f3e86a1061e2a4bc292df
authornathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 20 Mar 2018 15:57:30 +0000 (20 15:57 +0000)
committernathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 20 Mar 2018 15:57:30 +0000 (20 15:57 +0000)
tree8baa0d033a1a91ceac783a9a3891a1bef15cd141
parent10ffc0c814609073f8b25c459692c90017c377bc
[PR c++/84970] lookup marking

https://gcc.gnu.org/ml/gcc-patches/2018-03/msg00973.html
PR c++/84970
* cp-tree.h (lookup_list_keep): Declare.
* tree.c (lookup_list_keep): New, broken out of ...
(build_min): ... here.  Call it.
* decl.c (cp_finish_decl): Call lookup_list_keep.

PR c++/84970
* g++.dg/lookup/pr84970.C: New.

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