diff options
author | Nathan Sidwell <nathan@acm.org> | 2017-05-29 12:52:58 +0000 |
---|---|---|
committer | Nathan Sidwell <nathan@gcc.gnu.org> | 2017-05-29 12:52:58 +0000 |
commit | 58dec010560be6fc090a2b5a65e5b4349b88748b (patch) | |
tree | 7ce65cb184e57240d0c50d6d4d8a80f90da677f4 /gcc/cp/decl2.c | |
parent | 724e517a7df51aa4921704083ef78a7a41999198 (diff) | |
download | gcc-58dec010560be6fc090a2b5a65e5b4349b88748b.zip gcc-58dec010560be6fc090a2b5a65e5b4349b88748b.tar.gz gcc-58dec010560be6fc090a2b5a65e5b4349b88748b.tar.bz2 |
PR c++/80891 (#3)
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.
From-SVN: r248571
Diffstat (limited to 'gcc/cp/decl2.c')
-rw-r--r-- | gcc/cp/decl2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cp/decl2.c b/gcc/cp/decl2.c index 73eeb01..a095901 100644 --- a/gcc/cp/decl2.c +++ b/gcc/cp/decl2.c @@ -4891,7 +4891,7 @@ build_offset_ref_call_from_tree (tree fn, vec<tree, va_gc> **args, || TREE_CODE (fn) == MEMBER_REF); if (type_dependent_expression_p (fn) || any_type_dependent_arguments_p (*args)) - return build_nt_call_vec (fn, *args); + return build_min_nt_call_vec (fn, *args); orig_args = make_tree_vector_copy (*args); |