[PR c++/84970] lookup marking
authorNathan Sidwell <nathan@acm.org>
Tue, 20 Mar 2018 15:57:30 +0000 (15:57 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Tue, 20 Mar 2018 15:57:30 +0000 (15:57 +0000)
commit5770bbac66da20acd60a488430dff494db6606b4
tree8baa0d033a1a91ceac783a9a3891a1bef15cd141
parentb6c1e0329bb7c7b511d685ebb17ab4f2c515a75a
[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.

From-SVN: r258685
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]