https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80891
--- Comment #3 from Nathan Sidwell <nathan at gcc dot gnu.org> --- Author: nathan Date: Mon May 29 12:52:58 2017 New Revision: 248571 URL: https://gcc.gnu.org/viewcvs?rev=248571&root=gcc&view=rev Log: PR c++/80891 (#3) * cp-tree.h (build_min_nt_call_vec): Declare. * decl.c (build_offset_ref_call_from_tree): Call it. * parser.c (cp_parser_postfix_expression): Likewise. * pt.c (tsubst_copy_and_build): Likewise. * semantics.c (finish_call_expr): Likewise. * tree.c (build_min_nt_loc): Keep unresolved lookups. (build_min): Likewise. (build_min_non_dep): Likewise. (build_min_non_dep_call_vec): Likewise. (build_min_nt_call_vec): New. PR c++/80891 (#3) * g++.dg/lookup/pr80891-3.C: New. Added: trunk/gcc/testsuite/g++.dg/lookup/pr80891-3.C Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/cp-tree.h trunk/gcc/cp/decl2.c trunk/gcc/cp/parser.c trunk/gcc/cp/pt.c trunk/gcc/cp/semantics.c trunk/gcc/cp/tree.c trunk/gcc/testsuite/ChangeLog