pt.c (tsubst_copy_and_build): Remove unnecessary COMPONENT_REF peeking.
authorNathan Sidwell <nathan@acm.org>
Tue, 16 May 2017 13:12:01 +0000 (13:12 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Tue, 16 May 2017 13:12:01 +0000 (13:12 +0000)
commit1f0ed17c4e88d930d29f1b372d218ff691dea3b6
treedcbf7ea722daee0f7d3be438882069680a076f7d
parent2c27a627a31034165af6c01e07a69d867010fbbd
pt.c (tsubst_copy_and_build): Remove unnecessary COMPONENT_REF peeking.

* pt.c (tsubst_copy_and_build): Remove unnecessary COMPONENT_REF
peeking.
* semantics.c (finish_id_expression): Directly init local var.
(finish_omp_reduction_clause): Use really_overloaded_fn.
* tree.c (get_fns): Document.  Assert we got an overload.
(get_first_fn) Document.
* typeck.c (cp_build_addr_expr_1): Pass arg directly to
really_overloaded_fn.
* typeck2.c (cxx_inomplete_type_diagnostic): Use get_first_fn directly.

From-SVN: r248106
gcc/cp/ChangeLog
gcc/cp/pt.c
gcc/cp/semantics.c
gcc/cp/tree.c
gcc/cp/typeck.c
gcc/cp/typeck2.c