https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80891
--- Comment #1 from Nathan Sidwell <nathan at gcc dot gnu.org> --- Author: nathan Date: Mon May 29 11:51:13 2017 New Revision: 248570 URL: https://gcc.gnu.org/viewcvs?rev=248570&root=gcc&view=rev Log: PR c++/80891 (#2) * tree.c (ovl_copy): Adjust assert, copy OVL_LOOKUP. (ovl_used): New. (lookup_keep): Call it. PR c++/80891 (#2) * g++.dg/lookup/pr80891-2.C: New. Added: trunk/gcc/testsuite/g++.dg/lookup/pr80891-2.C Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/tree.c trunk/gcc/testsuite/ChangeLog